Skip to content

Commit

Permalink
Make match softer
Browse files Browse the repository at this point in the history
  • Loading branch information
sockmaster27 committed Jan 7, 2025
1 parent 7cb64ff commit 901783a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-sites.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async function assertScreenshot(

const fileName = `${name}-${api}${unsupportedString}${engineString}${mobileString}${numberString}.png`;

await expect.soft(page).toHaveScreenshot(fileName, { threshold: 0.1 });
await expect.soft(page).toHaveScreenshot(fileName, { maxDiffPixels: 1000 });
}

const apis = ["webgl", "webgpu"] as const;
Expand Down

0 comments on commit 901783a

Please sign in to comment.