- Page Object Pattern
- Dockerize tests
- Parallel testing using dockers
- XHR
- Hooks and Tags
- Retries and Screenshots on failure
- Dashboard supported slack notifier
- TS Linter on git commit
- Mocha HTML Report
- Mocha XML Report
- Allure Report
sudo npm install -g yarn
yarn
| Action | Command |
|---|---|
| Yarn test runner | yarn tests |
| Node test runner | npm run tests |
| Docker test runner | docker run -it -v $PWD:/e2e -w /e2e cypress/included:9.1.1 |
| Scale Docker containers for parallel testing | docker-compose up --scale e2e=3 |
| Shell runner | bash build.sh |
npm run open
| Action | Command |
|---|---|
| husky initializer | npx husky-init |
| linter on stagged git files | yarn lint-staged |
| skip mandatory linter | git commit -am '<message>' --no-verify |