Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 612 Bytes

Reporting.md

File metadata and controls

30 lines (19 loc) · 612 Bytes

Reporting

A report can be generated after the suite is executed.

Baseline, comparison and diff images will only be added to the report for failing tests.

Cypress support index

Add the following after hook in cypress/support/index.js:

after(() => {
  cy.task('generateReport')
})

The report will look something like:

Cypress Image Diff Report

Folder structure

When a report is generated it will create the following folder:

    .
    ├── cypress-visual-report

There will be enhancements coming in to make the folder name/location configurable.