Closed JonathanSTH closed 7 months ago
@JonathanSTH Hi, I assume that you're trying to configure your custom report folders. Here the link to a typescript example project you can reference to.
Thanks for the reply. Yes, I've looked at this documentation.
Specifically for the config file: https://github.com/kien-ht/cypress-image-diff-html-report/blob/main/examples/typescript/cypress-image-diff.config.cjs
changing the directory name does not appear to work:
const config = {
ROOT_DIR: '',
FAILURE_THRESHOLD: 0.09,
REPORT_DIR: 'visual-test-report'
}
module.exports = config
I've updated as such, and it still sends to what i assume is the default:
const config = {
ROOT_DIR: '../../cypress/cypress-image-diff-screenshots',
FAILURE_THRESHOLD: 0.09,
REPORT_DIR: 'visual-test-report'
};
module.exports = config;
Any help would be appreciated.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 30 days since being marked as stale.
following instructions from documentations didn't work for me either
Attempting to configure the location of the folders is not working.
created cypress-image-diff.config.js in the root of the project with this code:
cypress.config.ts file contains:
const getCompareSnapshotsPlugin = require('cypress-image-diff-js/plugin');
and then it has this code after:
the e2e.ts file has this code:
the folders and files get added to the config folder under root > cypress > config