Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/raghavendra-vaidya/sauce-cy

Test automation demonstration using Cypress.io
https://github.com/raghavendra-vaidya/sauce-cy

cypress-io javascript mochawesome test-automation

Last synced: about 2 months ago
JSON representation

Test automation demonstration using Cypress.io

Awesome Lists containing this project

README

        

# 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](https://user-images.githubusercontent.com/30006440/234488494-99b0450b-89cf-45b9-843a-b8d00ef38e18.png)

---
![image](https://user-images.githubusercontent.com/30006440/234488616-f2497e8d-296f-40b5-8bf7-a5e7283b2090.png)

---
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