Cypress 10 + with Cucumber
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
- https://github.com/cucumber/json-formatter
- https://github.com/Shelex/cypress-allure-plugin
(+ bundlers: https://github.com/badeball/cypress-cucumber-preprocessor/tree/master/examples)
- Node JS
- Optional: Java 8 for Allure Reporter
- Optional: Json-formatter for Native Reporter option(depends on your OS: https://github.com/cucumber/json-formatter)
Install project dependencies with: npm i
- Standard Execution:
- npx cypress run --spec cypress/e2e/features/* --env tags=@mobile
-
Standard Execution with Docker
-
Create Image
-
docker buildx build -t testing-chile:1.0 .
- Command Execution
-
docker run -i -t testing-chile:1.0 cypress run --spec cypress/e2e/features/* --env tags=@mobile
-
docker run -v ./cypress/reports:/testing-chile/cypress/reports testing-chile:1.0 cypress run --spec "cypress/e2e/features/*.feature" --env tags=@mobile
-
Docker Compose:
- docker compose run e2e