Closed mgubala-edge1s closed 1 year ago
What version do you use? Currently in the codebase both imageDir
and imagePath
are supported. Also, imageDir
is marked as deprecated and will be removed in version 4.
One note: to be able to use imagePath
you cannot use imageDir
anywhere in your environment.
Code where imagesPath
is being used:
https://github.com/FRSOURCE/cypress-plugin-visual-regression-diff/blob/f4d3ec946547d648d1ec8ea9ccf9369540255adf/src/commands.ts#L96-L99
https://github.com/FRSOURCE/cypress-plugin-visual-regression-diff/blob/f4d3ec946547d648d1ec8ea9ccf9369540255adf/src/commands.ts#L151
Closing as invalid
Describe the bug Readme states that
imagesPath
is attribute which can be used to adjust storage path. It is not valid as in code there isimagesDir
.To Reproduce Steps to reproduce the behavior:
matchImage({ imagesPath: 'some-path/ })
and it will not do any change.matchImage({ imagesDir: 'some-path/ })
and it will change where images are stored.Expected behavior Readme should match codebase.