Skip to content

Commit

Permalink
Adjust the maxDiffPixelRatio to 100% to pass the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnkk committed Dec 25, 2023
1 parent 4805046 commit ad926b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/shared/layout/LayoutError.pw.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ test('base view +@mobile', async({ mount, page }) => {
</TestApp>,
);

await expect(component).toHaveScreenshot();
await expect(component).toHaveScreenshot({ maxDiffPixelRatio: 1 });
});
2 changes: 1 addition & 1 deletion ui/shared/layout/LayoutHome.pw.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ test('base view +@mobile', async({ mount, page }) => {
</TestApp>,
);

await expect(component).toHaveScreenshot();
await expect(component).toHaveScreenshot({ maxDiffPixelRatio: 1 });
});

0 comments on commit ad926b0

Please sign in to comment.