Skip to content

Commit 0caa00a

Browse files
committed
Merge remote-tracking branch 'origin/main' into FW-355
2 parents de35a1e + 7296b52 commit 0caa00a

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

core/src/components/modal/test/sheet/modal.e2e.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,6 @@ test.describe('sheet modal: backdrop', () => {
5252
await input.click();
5353
expect(input).toBeFocused();
5454
});
55-
test('input outside sheet modal should not be focusable when backdrop is active', async ({ page }) => {
56-
const ionModalDidPresent = await page.spyOnEvent('ionModalDidPresent');
57-
58-
await page.click('#backdrop-active');
59-
60-
await ionModalDidPresent.next();
61-
62-
const input = await page.locator('#root-input input');
63-
64-
/**
65-
* Input is behind the active backdrop
66-
* so users will click the backdrop first
67-
* before getting the input. Using force
68-
* allows us to test focus trapping even
69-
* when the backdrop is enabled.
70-
*/
71-
await input.click({ force: true });
72-
expect(input).not.toBeFocused();
73-
})
7455
});
7556

7657
test.describe('sheet modal: setting the breakpoint', () => {

0 commit comments

Comments
 (0)