Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.01 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.01 KB

cypress-allure-adapter example

This is repo with examples of using @mmisty/cypress-allure-adapter package with cypress

There are several examples:

  • cypress-js (setup and usage with javascript)
  • cypress-js-gherkin (setup and usage with javascript and gherkin plugin @badeball/cypress-cucumber-preprocessor)
  • cypress-ts (setup and usage with typescript)

To check out go in examples folder.

To see report example you can visit https://mmisty.github.io/cypress-allure-adapter-example

Scripts

Each example folder has scripts.

Before running scripts install all packages by npm i.

  • open cypress interactive mode:

    npm run cy:open
  • run all tests:

    npm run cy:run

Root scripts

  • open allure report :

    npm run report:open
  • run all tests and open report afterwards:

    npm run cy:run:with:report