Skip to content

Commit bb7140a

Browse files
committed
make screenshot smaller
1 parent e9415f2 commit bb7140a

19 files changed

+2
-2
lines changed

core/src/components/badge/test/hint/badge.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ configs({ modes: ['md', 'ios', 'ionic-md'] }).forEach(({ config, screenshot, tit
66
test('should not have visual regressions', async ({ page }) => {
77
await page.goto('/src/components/badge/test/hint', config);
88

9-
await page.setIonViewport();
9+
const container = page.locator('ion-list');
1010

11-
await expect(page).toHaveScreenshot(screenshot(`badge-hint`));
11+
await expect(container).toHaveScreenshot(screenshot(`badge-hint`));
1212
});
1313
});
1414
});
-3.57 KB
Loading
-7.07 KB
Loading
-3.27 KB
Loading
-3.55 KB
Loading
-6.8 KB
Loading
-3.28 KB
Loading
-4.17 KB
Loading
-8.19 KB
Loading
-3.97 KB
Loading

0 commit comments

Comments
 (0)