Skip to content

Commit 32a5fab

Browse files
committed
test(select): add shape snapshots
1 parent f8a45bc commit 32a5fab

File tree

35 files changed

+76
-37
lines changed

35 files changed

+76
-37
lines changed

core/src/components/select/test/fill/select.e2e.ts

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -89,24 +89,6 @@ configs({ modes: ['md'] }).forEach(({ title, screenshot, config }) => {
8989
const select = page.locator('ion-select');
9090
await expect(select).toHaveScreenshot(screenshot(`select-fill-solid-label-floating`));
9191
});
92-
test('should not have visual regressions with shaped solid', async ({ page }) => {
93-
await page.setContent(
94-
`
95-
<ion-select
96-
shape="round"
97-
fill="solid"
98-
label="Fruit"
99-
value="apple"
100-
>
101-
<ion-select-option value="apple">Apple</ion-select-option>
102-
</ion-select>
103-
`,
104-
config
105-
);
106-
107-
const select = page.locator('ion-select');
108-
await expect(select).toHaveScreenshot(screenshot(`select-fill-shaped-solid`));
109-
});
11092
test('padding and border radius should be customizable', async ({ page }) => {
11193
await page.setContent(
11294
`
@@ -153,25 +135,6 @@ configs({ modes: ['md'] }).forEach(({ title, screenshot, config }) => {
153135
const select = page.locator('ion-select');
154136
await expect(select).toHaveScreenshot(screenshot(`select-fill-outline-label-floating`));
155137
});
156-
157-
test('should not have visual regressions with shaped outline', async ({ page }) => {
158-
await page.setContent(
159-
`
160-
<ion-select
161-
shape="round"
162-
fill="outline"
163-
label="Fruit"
164-
value="apple"
165-
>
166-
<ion-select-option value="apple">Apple</ion-select-option>
167-
</ion-select>
168-
`,
169-
config
170-
);
171-
172-
const select = page.locator('ion-select');
173-
await expect(select).toHaveScreenshot(screenshot(`select-fill-shaped-outline`));
174-
});
175138
});
176139
});
177140
});

0 commit comments

Comments
 (0)