Skip to content

Commit ee3bf31

Browse files
authored
test(modal): remove redundant header swipe test (#25207)
1 parent 7633ddb commit ee3bf31

File tree

1 file changed

+0
-12
lines changed
  • core/src/components/modal/test/card-scroll-target

1 file changed

+0
-12
lines changed

core/src/components/modal/test/card-scroll-target/modal.e2e.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,6 @@ test.describe('card modal - scroll target', () => {
88
await page.goto('/src/components/modal/test/card-scroll-target');
99
});
1010
test.describe('card modal: swipe to close', () => {
11-
test('it should swipe to close when swiped on the header', async ({ page }) => {
12-
const ionModalDidPresent = await page.spyOnEvent('ionModalDidPresent');
13-
const ionModalDidDismiss = await page.spyOnEvent('ionModalDidDismiss');
14-
15-
await page.click('#card');
16-
await ionModalDidPresent.next();
17-
18-
const header = await page.locator('ion-modal ion-header');
19-
await dragElementBy(header, page, 0, 500);
20-
21-
await ionModalDidDismiss.next();
22-
});
2311
test('it should swipe to close when swiped on the content', async ({ page }) => {
2412
const ionModalDidPresent = await page.spyOnEvent('ionModalDidPresent');
2513
const ionModalDidDismiss = await page.spyOnEvent('ionModalDidDismiss');

0 commit comments

Comments
 (0)