cypress-cucumber-boilerplate-for-e2e-testing
Cypress 10+ with Cucumber boilerplate project.
๐ป Topics
Integrated with:
- https://github.com/badeball/cypress-cucumber-preprocessor
- https://github.com/bahmutov/cypress-esbuild-preprocessor
- https://www.npmjs.com/package/multiple-cucumber-html-reporter
(+ bundlers: https://github.com/badeball/cypress-cucumber-preprocessor/tree/master/examples)
-
๐ป Pre-requisites
Before you use this project you only need to have Node Js installed in your computer.
https://nodejs.org/es/download/
Also, download and install the JSON fomatter depending on your OS
https://github.com/cucumber/json-formatter
๐ Install the project
Install project dependencies with: npm i
๐ Run the demo:
Open the terminal and run: npm run cypress:execution
Docker configuration
- Added cucumber-json-formatter-linux-386 in root folder and renamed to cucumber-json-formatter
- Now run the docker cmd : docker-compose run e2e npm run cukeReg