Skip to content

Commit cbab515

Browse files
committed
#241 e2e test screenshots higher pixel error rate allowed
1 parent 2b34bcd commit cbab515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data-browser/tests/e2e.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ test.describe('data-browser', async () => {
332332
await page.click(`[data-test]:has-text("${demoFileName}")`);
333333
const image = await page.locator('[data-test="image-viewer"]');
334334
await expect(image).toBeVisible();
335-
await expect(image).toHaveScreenshot();
335+
await expect(image).toHaveScreenshot({ maxDiffPixelRatio: 0.1 });
336336
});
337337

338338
test('chatroom', async ({ page, browser }) => {

0 commit comments

Comments
 (0)