SCREENSHOTS_DIR
The SCREENSHOTS_DIR
specifies where all the screenshots are saved. It's relative to the ROOT_DIR.
π’ Default value: cypress-image-diff-screenshots
// cypress-image-diff.config.js
const config = {
ROOT_DIR: 'visual-test',
SCREENSHOTS_DIR: 'screenshots'
};
module.exports = config;
Output directory:
.
βββ visual-test
βββ screenshots
βββ baseline
βββ comparison
βββ diff
Last updated