Skip to content

Commit

Permalink
increase mismatch ratio for failing image
Browse files Browse the repository at this point in the history
  • Loading branch information
mudhoney committed Jan 17, 2025
1 parent 1225196 commit 2f60cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/desktop/normal/zoom/zoom_state.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ test("Zoom scale is persisted across reload", async ({ page }, info) => {
await hv.WaitForLoadingComplete();
await hv.CloseAllNotifications();
await hv.WaitForImageLoad();
await expect(page).toHaveScreenshot(["zoom_screenshot.png"], { maxDiffPixels: 35, scale: "device" });
await expect(page).toHaveScreenshot(["zoom_screenshot.png"], { maxDiffPixelRatio: 0.01, scale: "device" });
});

0 comments on commit 2f60cbd

Please sign in to comment.