Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.61 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.61 KB

cypress-cucumber-boilerplate-for-e2e-testing

exemplo imagem

Cypress 10+ with Cucumber boilerplate project.

💻 Topics

Integrated with:

(+ 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
  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