From b14b23a6af3d9974d1b47bc575b0f9956b5e0782 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Thu, 8 Dec 2022 13:07:23 +0530 Subject: [PATCH] Use ssim fast algorithm --- cypress/support/commands.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 0a33116e5..a9a1c631a 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -32,5 +32,7 @@ addMatchImageSnapshotCommand({ comparisonMethod: 'ssim', failureThreshold: 0.02, failureThresholdType: 'percent', - blur: 2, + customDiffConfig: { + ssim: 'fast', + }, });