This is an example for e2e tests with Cypress.
Install all the dependencies
npm install
You have essentially 2 options:
Run the e2e tests in headless mode or in GUI mode.
Headless mode opens a browser behind the scenes and outputs the results in the terminal.
GUI mode opens the nice Cypress GUI and is more suited while developing e2e tests.
Each can run their own webpack dev server or use the one that is already started by you.
npm run test:runner
- this starts the Cypress test runner
npm run test
- this starts e2e tests in headless without video
npm run test:record
- this starts e2e tests in headless with video recording
Recorded videos - ./cypress/videos
- Home page
- Contact us page
- Node.js should be installed
Author: Abhishek Yadav