Skip to content

Commit

Permalink
💚 Less aggressive screenshot comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed May 26, 2024
1 parent e43a4b2 commit 9aa8f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/specs/extract-cards.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const checkCards = async (page, count) => {
const height = frontImg.height;

const options = {
maxDiffPixelRatio: 0.02
maxDiffPixelRatio: 0.1
}
await expect(frontImg).toHaveScreenshot(`card-${i}-front.png`, options);
await expect(backImg).toHaveScreenshot(`card-${i}-back.png`, options);
Expand Down

0 comments on commit 9aa8f12

Please sign in to comment.