Cypress project for QualityWorks UI Automation Bootcamp
- NodeJS v12, v14 or above
- NPM v6 or above
- Chrome browser
Clone the repository & install dependencies
$ git clone
$ cd UI-Automation-Bootcamp-Project
$ npm install
- cypress/e2e/page: Page object files which include element selectors and functions that are used in tests.
- cypress/e2e/test: Test files which include the actual tests.
Execute the Cypress GUI
npx cypress open
Execute the Cypress via commandline
npx cypress run
Executes all tests in the Chrome browser and generates a Mochawesome report.
npm test
npx cypress run --browser firefox
N.B. The browser must be installed on the device.
Without Report
npx cypress run --spec cypress/e2e/test/search.cy.js
OR
With Report
npm run test:spec cypress/e2e/test/search.cy.js