Open DavidRNogueira opened 1 month ago
Hi @DavidRNogueira, this problem occurs when your custom config file could not be found, so the default config will be used instead, which is /path/to/project/cypress-image-diff-html-report
.
Please note that:
cypress-image-diff-html-report generate --configFile path-to-your-config-file
path-to-your-config-file
has to be a relative path to where you run this command. Can you confirm that?
I have a config file named:
visual-regression-html-report.config.js
I also have a
cypress-image-diff.config.js
:When I run
cypress-image-diff-html-report generate --configFile visual-regression-html-report.config.js
I see the following error:
I see the same issue with the
start
command. If I pass the reportJsonDir flags directly to the CLI, it works. For some reason the configFile CLI option is not working