We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a51b2f8 commit 7c3eb98Copy full SHA for 7c3eb98
1 file changed
src/components/icon/test/icon.e2e.ts
@@ -30,11 +30,7 @@ test.describe('icon: basic', () => {
30
await page.waitForLoadState('networkidle');
31
32
const rtlTests = page.locator('#rtl-tests');
33
- await expect(rtlTests).toHaveScreenshot(`icon-rtl-diff.png`, {
34
- // Add more tolerance for font rendering differences
35
- maxDiffPixelRatio: 0.02, // Allow up to 2% difference (much higher than the 0.01 difference in your error)
36
- threshold: 0.2, // Increase threshold for per-pixel comparison
37
- });
+ await expect(rtlTests).toHaveScreenshot(`icon-rtl-diff.png`);
38
});
39
40
test('arrows should flip if dir changes on the element', async ({ page }) => {
0 commit comments