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
Problem: Colors should be considered as a part of the snapshot image difference
Issue: A difference in color is not considered as a failing point for Cypress Image Snapshot
PFB Pictures
PFB the images Expected: Image diff should FAIL as the expected colors are different Actual: Image difference is PASSED.
Please let me know how do I enable inclusion of Color in image diff?
I have overridden below Image Diff configuration let me know if this is the issue:
//<cypress-root>/support/commands.js
import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command';
addMatchImageSnapshotCommand({
failureThreshold: 0.9, // threshold for entire image
failureThresholdType: 'percent', // percent of image or number of pixels
});
The text was updated successfully, but these errors were encountered:
Problem: Colors should be considered as a part of the snapshot image difference
Issue: A difference in color is not considered as a failing point for Cypress Image Snapshot
PFB Pictures
PFB the images
Expected: Image diff should FAIL as the expected colors are different
Actual: Image difference is PASSED.
Please let me know how do I enable inclusion of Color in image diff?
I have overridden below Image Diff configuration let me know if this is the issue:
The text was updated successfully, but these errors were encountered: