Skip to main content

Reporters

Two reporters are set up and enabled

Mochawesome

Location: cypress/reports/mochawesome

Reports will only be generated with the two commands below after cypress finishes the run:

npm run mocha.combine-reports
npm run mocha.generate-reports

Make sure to clear previous reports before running your tests:

npm run mocha.clear

Allure

Location: allure-results

Report will be created automatically if you have allure: true inside your ./cypress.config.js.

To view the latest report you can run

npm run allure.start

To preserve the history trend, run:

npm run allure.report
npm run allure.history

Then start the allure

npm run allure.start