From c5d3d0ee5f4b12a8727330be45c343686f6cfb1c Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 24 Jul 2024 06:47:03 +0200 Subject: [PATCH] Allow slight pixel deviation --- e2e/chart.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/chart.spec.ts b/e2e/chart.spec.ts index 8654a725..0ee51ed2 100644 --- a/e2e/chart.spec.ts +++ b/e2e/chart.spec.ts @@ -62,6 +62,7 @@ test.describe('Chart', () => { await expect(page.locator('canvas')).toHaveScreenshot('Chart-Plot-with_BollingerBands.png', { threshold: 0.15, + maxDiffPixelRatio: 0.15, }); // Should assert if indicators have been set // but it's a canvas ...