Open hex22a opened 5 years ago
@hex22a sorry for the late response, have been on vacation.
If you want to dive into the problem that would be great. Reading over Cypress' not
docs it seems that it might only work for checking if the DOM node exists? To support the behavior you described we might need a command like toNotMatchImageSnapshot
.
should I also add toMatchImageSnapshot
as an alias to matchImageSnapshot
just for consistency?
this is also what jest-image-snapshot does
Hey! I've just realised something that might me interesting.
I'm working in a very specific visual effect so i've decided that i want to test that screenshots actually do not match. Apperantaley when I do this
i'm getting this error in cypress runner
Workaround
However, we still can do "not" with this syntax
Also i've noticed that when i use .not snapshots are not being captured.
Do you want me to dive into this problem and prob. submit a PR?