Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joanesquivel/cypress-cucumber-boilerplate
Cypress.IO Project using Javascript and Cucumber to start automating E2E tests just cloning it and installing dependencies.
https://github.com/joanesquivel/cypress-cucumber-boilerplate
automation cucumber cucumberjs cypress cypress-io gherkin javascript testing typescript
Last synced: 14 days ago
JSON representation
Cypress.IO Project using Javascript and Cucumber to start automating E2E tests just cloning it and installing dependencies.
- Host: GitHub
- URL: https://github.com/joanesquivel/cypress-cucumber-boilerplate
- Owner: JoanEsquivel
- Created: 2022-07-03T02:08:19.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-21T07:19:36.000Z (over 1 year ago)
- Last Synced: 2025-01-24T00:15:00.794Z (14 days ago)
- Topics: automation, cucumber, cucumberjs, cypress, cypress-io, gherkin, javascript, testing, typescript
- Language: JavaScript
- Homepage:
- Size: 2.48 MB
- Stars: 108
- Watchers: 8
- Forks: 111
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cypress-cucumber-boilerplate-for-e2e-testing
> Cypress 10+ with Cucumber boilerplate project.
### 💻 Topics
Integrated with:
- [x] https://github.com/badeball/cypress-cucumber-preprocessor
- [x] https://github.com/bahmutov/cypress-esbuild-preprocessor
- [x] https://www.npmjs.com/package/multiple-cucumber-html-reporter
- [x] https://github.com/cucumber/json-formatter
- [x] https://github.com/Shelex/cypress-allure-plugin(+ bundlers: https://github.com/badeball/cypress-cucumber-preprocessor/tree/master/examples)
- ## 💻 Pre-requisites
1. Node JS
2. Optional: Java 8 for Allure Reporter
3. Optional: Json-formatter for Native Reporter option(depends on your OS: https://github.com/cucumber/json-formatter)## 🚀 Install the project
Install project dependencies with: npm i
## Run the demo:
1. Standard Execution: npm run cypress:execution
2. Native report(with JSON FORMATTER): Check how to do it in this video: [Cucumber BDD Report - YouTube](https://www.youtube.com/watch?v=5AGXK9cL2fs&t=2s&ab_channel=JoanMedia)
3. Allure Report:
1. npm run cypress:execution-allure
2. npm run allure:report
3. allure open
4. You'll get a report like this one: GitHub Page - Allure Report Sample: https://joanesquivel.github.io/cypress-cucumber-boilerplate/## Sample repo to generate an allure report as an artifact using GH Actions
* https://github.com/SeyiOG/newCyLearn2/blob/main/.github/workflows/cypress-allure-report.yml