diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 3589640d9..c8998f0e5 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -28,4 +28,8 @@ import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command'; -addMatchImageSnapshotCommand(); +addMatchImageSnapshotCommand({ + comparisonMethod: 'ssim', + failureThreshold: 0.01, + failureThresholdType: 'percent', +});