Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prashanth-sams/cypress-cucumber-boilerplate
Boilerplate project for Cypress tool in Cucumber flavor
https://github.com/prashanth-sams/cypress-cucumber-boilerplate
cucumber cypress cypress-cucumber cypress-cucumber-typescript cypress-tests docker typescript
Last synced: 3 months ago
JSON representation
Boilerplate project for Cypress tool in Cucumber flavor
- Host: GitHub
- URL: https://github.com/prashanth-sams/cypress-cucumber-boilerplate
- Owner: prashanth-sams
- Created: 2020-10-31T21:18:16.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-23T10:01:22.000Z (about 3 years ago)
- Last Synced: 2024-10-17T06:18:21.152Z (3 months ago)
- Topics: cucumber, cypress, cypress-cucumber, cypress-cucumber-typescript, cypress-tests, docker, typescript
- Language: TypeScript
- Homepage:
- Size: 688 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Cypress | Cucumber Boilerplate
[![pull request lint](https://github.com/prashanth-sams/cypress-cucumber-boilerplate/actions/workflows/linter.yml/badge.svg)](https://github.com/prashanth-sams/cypress-cucumber-boilerplate/actions/workflows/linter.yml)## Features
- [x] Page Object Pattern
- [x] Dockerize tests
- [x] Parallel testing using dockers
- [x] XHR
- [x] Hooks and Tags
- [x] Retries and Screenshots on failure
- [x] Dashboard supported slack notifier
- [x] TS Linter on git commit
- [x] Mocha HTML Report
- [x] Mocha XML Report
- [x] Allure Report### Installation
```
sudo npm install -g yarnyarn
```### Test Runner
| 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` |### Cypress Launcher
```
npm run open
```#### OPTIONAL
| Action | Command |
| -------------- | --------- |
| husky initializer | `npx husky-init` |
| linter on stagged git files | `yarn lint-staged` |
| skip mandatory linter | `git commit -am '' --no-verify` |