REPORT_DIR

The REPORT_DIR specifies where the generated JSON report lives. It's relative to the ROOT_DIR.

πŸ’’ Default value: cypress-image-diff-html-report

// cypress-image-diff.config.js
const config = {
  ROOT_DIR: 'visual-test/custom-folder-name',
  REPORT_DIR: 'html-report',
};

module.exports = config;

Output directory:

    .
    β”œβ”€β”€ visual-test
        β”œβ”€β”€ custom-folder-name
            β”œβ”€β”€ html-report

Last updated