/Cypress-Automation

Test Scripts demonstrating different features of the Cypress Automation Tool with Detailed Blog Articles. (check readme)

Primary LanguageJavaScript

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. npm i - Install all the dependencies
  3. 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.
  4. Run npm test to execute the tests in Test Runner | Run npx cypress run to execute the tests in CLI
  5. To create HTML reports execute first npm run test:cli and then npm run create:html:report

Articles on Cypress

Running All Specs

  • When you're running your tests from the Test Runner, make sure that none of the tests has only, as this basically tells cypress to run that particular test and skip all others.