Skip to content

shikdershondhi/WellTravel-Affiliates-2.0

Repository files navigation

WellTravel-Affiliates-2.0

Cypress-Automation

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.

How to Start

  1. Clone the project
  2. 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)
  3. install Node.js 12 or 14 and above
  4. go to https://docs.cypress.io/guides/getting-started/installing-cypress or use the code npm install cypress --save-dev in the terminal of the project.
  5. use this code in the terminal:npm i - Install all the dependencies
  6. There are a lot dependencies that are not updated frequently in parallel with cypress. So while installing if you are seeing conflicts usenpm i --force.
  7. use the code ./node_modules/.bin/cypress open in the project terminal to open the cypress app
  8. i have also added npm command for it "cy:open": "cypress open" in the package file.
  9. please check all the important command using npm in the package.json file.
  10. 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

About

WellTravel-Affiliates-2.0 update

Resources

Stars

Watchers

Forks

Packages

No packages published