cypress-match-screenshot
cypress-match-screenshot copied to clipboard
False Negatives when switching between Resolutions
Seeing a significant amount of false negatives between resolutions - i.e. switching from big screen to small laptop screen. How to prevent?
Can you post an example here? Even tho I think I know what you mean ... the way I currently scale the screenshots so they can be compared no matter what the screen size of the test runner window was, causes edges to be falsely detected as differences 😕 Not sure atm how to prevent it without increasing the threshold, but I'll look into it :+1:
@julianburr I'm pretty sure this happens so consistently that you can easily reproduce with the following
- With open, run the suite in full screen and run again when the screen is resized to be smaller
- With open, run the suite in full screen on a large monitor and run again in a small monitor
- With run (once you fix it on your end), on two different machines
I'm sure open will also fail on two different machines.
It's very consistent