You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using failureThreshold to allow tests to pass when browser or system differences are causing discrepancies (#98)
When a test fails, I see: Error: Image was 1.8474242424242424% different from saved snapshot with 12193 different pixels.
If I increase the failureThreshold, the test passes and the difference percent is no longer in the output. The difference percentage should always be logged with the threshold percent that it was compared against. This would allow me to tune the failureThreshold so that it is not too high and potentially allowing unintended differences.
The text was updated successfully, but these errors were encountered:
jsphstls
changed the title
Always output diff values
Always output difference percentage vs failureThreshold
May 13, 2020
I am using
failureThreshold
to allow tests to pass when browser or system differences are causing discrepancies (#98)When a test fails, I see:
Error: Image was 1.8474242424242424% different from saved snapshot with 12193 different pixels.
If I increase the
failureThreshold
, the test passes and the difference percent is no longer in the output. The difference percentage should always be logged with the threshold percent that it was compared against. This would allow me to tune thefailureThreshold
so that it is not too high and potentially allowing unintended differences.The text was updated successfully, but these errors were encountered: