From e567d97e4774fc4b867f9e1e5d775cf795449ff8 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 }, + }, });