RishabhDevbanshi / Pacman-Game

This is a pacman game made using HTML, CSS and Javascript only.
https://rishabhdevbanshi.github.io/Pacman-Game/
54 stars 108 forks source link

Added initial e2e testing setup #105

Closed rhinojosadev closed 2 years ago

rhinojosadev commented 3 years ago

This is the initial part of the e2e automation script. #102

I added two main scripts one for the main window and other one for the main game with their respective tests. I also added in the package.json a new script with the name e2e that will run the cypress instance.

There are more things in detail that I could create in the wiki ( i.e what you need to install to run cypress ) https://docs.cypress.io/guides/getting-started/installing-cypress.html#System-requirements

If you want to run the static index.html and serve it in the localhost then one option is this npm module

https://www.npmjs.com/package/serve.

Let me know your thoughts! Thanks!

rhinojosadev commented 3 years ago

Hi @RishabhDevbanshi , is there something else that I need to make this PR worth to have the label hacktoberfest-accepted? Thanks!

RishabhDevbanshi commented 3 years ago

Sorry, I haven't seen this. My exams were going on so I was bit busy. So Sorry again.