Skip to content

Reporting

yhAutomationQA edited this page May 16, 2026 · 1 revision

Reporting

The framework produces two report types. Generate all reports with:

npm run report:generate

Allure Report

Rich BDD-compatible dashboard with steps, attachments, timelines, and trends. Requires Java 8+.

npm run report:allure:generate
npm run report:allure:open

Mochawesome Report

Standalone HTML report with embedded screenshots and charts — no server needed.

npm run report:mochawesome:full

Report Artifacts

Artifact When Format
Screenshots On test failure (with retry) PNG (full-page)
Videos Entire test run MP4
API logs Every cy.request() Allure steps + Cypress console

Directory Layout

reports/
├── allure-results/          # Raw data (input for Allure generator)
├── allure-report/           # Generated Allure HTML dashboard
├── mochawesome/             # Per-spec JSON files from test run
├── mochawesome-report/      # Merged HTML report
├── screenshots/             # Failure screenshots
├── videos/                  # Test recordings
└── logs/                    # Execution logs

Clean Reports

npm run report:clean

Clone this wiki locally