Test automation of saucedemo site using Cypress.io and javascript
Stack:
- cypress:
9.x.x
- javascript
- mochawesome reports
- CI: Github actions and circleCI
Steps to run:
- from root run
npm install
- to open cypress:
npx cypress open
Ornpm run cypress:open
Ornode_modules/.bin/cypress open
- to run integ specs:
npx cypress run --browser chrome --spec 'cypress/integration/integ/*.spec.js'
- to run e2e specs:
npx cypress run --browser chrome --spec 'cypress/integration/e2e/*.spec.js'
- to run all tests:
npx cypress run
CircleCI : Overall workflow:
CI Jobs:
Sample reports:
e2e sample report is attached below. Same can be found on ci artifacts location:
IT sample report is attached below. Same can be found on ci artifacts location: