Cypress is a next generation front end testing tool built for the modern web. This is a sample project which you can use to start your E2E testing with Cypress.
- Clone the project
- OS: macOS 10.9 and above (Intel or Apple Silicon 64-bit (x64 or arm64)) Linux Ubuntu 12.04 a Windows 7 and above (64-bit only)
- install
Node.js 12 or 14 and above
- go to
https://docs.cypress.io/guides/getting-started/installing-cypress
or use the codenpm install cypress --save-dev
in the terminal of the project. - use this code in the terminal:
npm i
- Install all the dependencies - There are a lot dependencies that are not updated frequently in parallel with cypress. So while installing if you are seeing conflicts use
npm i --force
. - use the code
./node_modules/.bin/cypress open
in the project terminal to open the cypress app - i have also added npm command for it
"cy:open": "cypress open"
in the package file. - please check all the important command using npm in the
package.json
file. - Before running the test scripts please update the
DATASET
inside the FIXTURES folder. (exp: date, url, routes etc based on the language setting)
For better understanding: please visit https://docs.cypress.io/guides/getting-started/installing-cypress
For DEMO video: please visit https://drive.google.com/file/d/16cdJmRRxWz8w1P2kwmdBe_wa7QJDCMuJ/view?usp=sharing