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
- run tests:
yarn && yarn cy:run
- clear previous output
yarn allure:clear
- generate allure report:
yarn 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 extension, it has configuration for allure cucumber tags autocompletion available:
"cypressHelper.cucumberTagsAutocomplete": {
"enable": true,
"allurePlugin": true,
"tags": ["focus", "someOtherTag"]
}