this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ’š Allow โ‰ค0.02 pixel diff ratio in visual tests

+1 -1
+1 -1
tests/screenshots.spec.ts
··· 27 27 test(screenshotName, async ({ page }) => { 28 28 process.env.PLAYWRIGHT = "1"; 29 29 await page.goto(urlOrFolder); 30 - await expect(page).toHaveScreenshot(); 30 + await expect(page).toHaveScreenshot({ maxDiffPixelRatio: 0.02 } ); 31 31 }); 32 32 } else { 33 33 for (const [name, entry] of Object.entries(urlOrFolder)) {