Skip to content

Commit d279361

Browse files
committed
test(toast): add snapshots
1 parent ca9c98b commit d279361

File tree

38 files changed

+5
-2
lines changed

38 files changed

+5
-2
lines changed

core/src/components/toast/test/basic/toast.e2e.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ class ToastFixture {
4444
}
4545
}
4646

47-
configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
47+
/**
48+
* This behavior does not vary across directions.
49+
*/
50+
configs({ modes: ['ios', 'md', 'ionic-md'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
4851
test.describe(title('toast: position rendering'), () => {
4952
let toastFixture: ToastFixture;
5053
test.beforeEach(async ({ page }) => {
@@ -124,7 +127,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
124127
});
125128
});
126129

127-
configs().forEach(({ title, screenshot, config }) => {
130+
configs({ modes: ['ios', 'md', 'ionic-md'] }).forEach(({ title, screenshot, config }) => {
128131
test.describe(title('toast: rendering'), () => {
129132
let toastFixture: ToastFixture;
130133
test.beforeEach(async ({ page }) => {
28.4 KB
Loading
39.8 KB
Loading
25 KB
Loading
3.26 KB
Loading
3.76 KB
Loading
3.34 KB
Loading
3.29 KB
Loading
3.74 KB
Loading
3.33 KB
Loading

0 commit comments

Comments
 (0)