Skip to content

Commit

Permalink
Adjust settings for comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Oct 24, 2020
1 parent 6660374 commit 4954a4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion e2e-tests/visual-regression/cypress/support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@ import "gatsby-cypress"
import { addMatchImageSnapshotCommand } from "cypress-image-snapshot/command"

addMatchImageSnapshotCommand({
customDiffDir: `/__diff_output__`,
customDiffDir: `/__diff_output__`,
comparisonMethod: `ssim`,
failureThreshold: 0.01,
failureThresholdType: `percent`
})

0 comments on commit 4954a4f

Please sign in to comment.