ROOT_DIR

The ROOT_DIR value should be relative to the root of the directory.

πŸ’’ Default value: ''

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

module.exports = config;

Output directory:

    .
    β”œβ”€β”€ visual-test
        β”œβ”€β”€ custom-folder-name
            β”œβ”€β”€ cypress-visual-screenshots
                β”œβ”€β”€ baseline
                β”œβ”€β”€ comparison
                β”œβ”€β”€ diff
            β”œβ”€β”€ cypress-visual-report

Last updated