This repository focuses on running cypress tests in github actions. Where tests are run periodically using GitHub Action & Cron job.
- Node.js
- This project was created with v16.13.1
- Git
- A JavaScript IDE like Visual Studio Code
- Up-to-date versions of the following browsers:
- Google Chrome
- Mozilla Firefox
- Microsoft Edge
✅ Sanity tests with Cypress
✅ API tests with Cypress
✅ Performance tests with Cypress
✅ E2E UI tests with Cypress
✅ Generate test report with Allure & Github pages
✅ CICD with Github Actions
⌛ Running nightly builds using Cron job
- Cypress
- Sauce Labs
- Artillery
- Github Actions
- Setup
- Usage
- API Testing
- E2E UI testing with Cypress
- Performance tests using Artillery
- CICD using Github Actions
- Generate report
These folders hold end-to-end tests and supporting files for the Cypress Test Runner.
.
├── README.md
├── cypress
│ └── integration
│ ├── api
│ │ └── api.js
│ ├── e2e
│ │ └── home_spec.js
│ └── sanity.js
├── cypress.json
├── package-lock.json
└── package.json
fixtures
: Holds optional JSON data for mockingintegration
: Holds the actual test filesplugins
: Allow you to customize how tests are loadedsupport
: File runs before all tests and is a great place to write or load additional custom commands
- Test pipeline via Github Actions
-
Install dependencies
yarn
-
To run Sanity tests
npm run cypress:sanity
-
To run API tests
npm run cypress:api
-
📝 Reports: Link: https://tux7p.github.io/Cypress-Actions/