This project demonstrates how to use cypress-allure-plugin.
- Allure
It may be classic solutions with java or allure-commandline npm package running binary under the hood.
- clone this repo
- install dependencies:
npm install
- run tests:
npm run cy:run
- clear previous output
npm run allure:clear
- generate allure report:
npm run allure:report
- open report:
allure open
- is generated by github action on every push. See .github/workflows/allure.yaml
- historical data is preserved, so reports will have nice graphs :)
- hosted with github pages. Check allure-report
In case you are using VS Code and Cypress Helper (latest) extension, it has configuration for allure cucumber tags autocompletion available:
"cypressHelper.cucumberTagsAutocomplete": {
"enable": true,
"allurePlugin": true,
"tags": ["focus", "someOtherTag"]
}