From 4bab8c5172ba86f8e4b81dc5a0bb03ab71a0488a Mon Sep 17 00:00:00 2001 From: Cristian Necula Date: Tue, 17 Sep 2024 17:54:01 +0300 Subject: [PATCH] test: visual tests faildue to antialiasing differences --- playwright.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playwright.config.ts b/playwright.config.ts index 93ea320..a398d16 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -38,4 +38,8 @@ export default defineConfig({ // stdout: 'pipe', // stderr: 'pipe', }, + + expect: { + toHaveScreenshot: { maxDiffPixelRatio: 0.01 }, + }, });