Closed FrederikG closed 1 year ago
Hey @FrederikG!
Thanks for raising this issue. However, if you follow official documentation you'll end up with import "@frsource/cypress-plugin-visual-regression-diff";
in cypress/support/index.js
and that should be enough as /support
is a default entry point of this package.
I'm closing the issue as I think everything works as expected - if you believe that it does not or should work differently: please reopen this issue or raise the PR with changes, thanks!
Describe the Bug
In the examples, the command
matchImage
is added in thecommands.ts
file https://github.com/FRSOURCE/cypress-plugin-visual-regression-diff/blob/main/examples/webpack/cypress/support/commands.ts. But this step is missing in the official Readme: https://github.com/FRSOURCE/cypress-plugin-visual-regression-diffIf you just follow the steps in the Readme, cypress will throw an error, that
matchImage
is not a function.Steps to reproduce
No response
Expected behavior
The Installation steps in the readme also mentions the adding of the command in the
command.ts
.Additional context
No response
Package version
3.3.10
Device
PC
OS and version
Windows 11
Browser and version
Chrome
Node version
16.0
I can work on it by myself
Code of Conduct