Allow slight pixel deviation

This commit is contained in:
Matthias 2024-07-24 06:47:03 +02:00
parent 85d5402f78
commit c5d3d0ee5f

View File

@ -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 ...