This project demonstrates end-to-end testing using Cypress.
-
Install dependencies:
npm install
-
Open Cypress:
npx cypress open
-
Run tests headless:
npx cypress run
cypress/e2e/- End-to-end test filescypress/fixtures/- Test data fixturescypress/support/- Custom commands and support filescypress.config.js- Cypress configuration
npm run cypress:open- Open Cypress test runnernpm run cypress:run- Run tests in headless modenpm run cypress:run:headed- Run tests in headed modenpm run cypress:run:chrome- Run tests in Chromenpm run cypress:run:firefox- Run tests in Firefox
Sample tests are included in the cypress/e2e/ directory to demonstrate various Cypress capabilities.