diff --git a/playwright/websockets/websocket.spec.ts b/playwright/websockets/websocket.spec.ts index 5c2cc7fdb5..430da59f61 100644 --- a/playwright/websockets/websocket.spec.ts +++ b/playwright/websockets/websocket.spec.ts @@ -13,5 +13,7 @@ test("websocket test", async ({ page, context }) => { const preview = generatePreviewContext(target); await addPreviewCookie(context, preview); await page.goto(preview.previewUrl); - await expect(page).toHaveScreenshot(); + await expect(page).toHaveScreenshot({ + maxDiffPixels: 50, + }); });