File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
core/src/components/modal/test/sheet Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -52,25 +52,6 @@ test.describe('sheet modal: backdrop', () => {
52
52
await input . click ( ) ;
53
53
expect ( input ) . toBeFocused ( ) ;
54
54
} ) ;
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
- } )
74
55
} ) ;
75
56
76
57
test . describe ( 'sheet modal: setting the breakpoint' , ( ) => {
You can’t perform that action at this time.
0 commit comments