Skip to content

Latest commit

 

History

History
59 lines (34 loc) · 1.61 KB

README.md

File metadata and controls

59 lines (34 loc) · 1.61 KB

sauce-cy

Test automation of saucedemo site using Cypress.io and javascript


Stack:

  1. cypress: 9.x.x
  2. javascript
  3. mochawesome reports
  4. CI: Github actions and circleCI

Steps to run:

  1. from root run npm install
  2. to open cypress: npx cypress open Or npm run cypress:open Or node_modules/.bin/cypress open
  3. to run integ specs: npx cypress run --browser chrome --spec 'cypress/integration/integ/*.spec.js'
  4. to run e2e specs: npx cypress run --browser chrome --spec 'cypress/integration/e2e/*.spec.js'
  5. to run all tests: npx cypress run

GH Actions: image


image


CircleCI : Overall workflow:

image


CI Jobs:

image


Sample reports:

e2e sample report is attached below. Same can be found on ci artifacts location:

image


IT sample report is attached below. Same can be found on ci artifacts location:

image