Skip to content

Commit 15d96fd

Browse files
committed
feat(badge): Adding visual tests when inside tab button.
1 parent 293d49c commit 15d96fd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,14 @@ configs({ directions: ['ltr'], modes: ['md', 'ios', 'ionic-md'] }).forEach(({ co
2121
await expect(container).toHaveScreenshot(screenshot(`badge-hint-avatar`));
2222
});
2323
});
24+
25+
test.describe(title('badge: hint inside tab button'), () => {
26+
test('should not have visual regressions', async ({ page }) => {
27+
await page.goto('/src/components/badge/test/hint', config);
28+
29+
const container = page.locator('#tab-button');
30+
31+
await expect(container).toHaveScreenshot(screenshot(`badge-hint-tab-button`));
32+
});
33+
});
2434
});

0 commit comments

Comments
 (0)