File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
core/src/components/modal/test/card-scroll-target Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -8,18 +8,6 @@ test.describe('card modal - scroll target', () => {
8
8
await page . goto ( '/src/components/modal/test/card-scroll-target' ) ;
9
9
} ) ;
10
10
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
- } ) ;
23
11
test ( 'it should swipe to close when swiped on the content' , async ( { page } ) => {
24
12
const ionModalDidPresent = await page . spyOnEvent ( 'ionModalDidPresent' ) ;
25
13
const ionModalDidDismiss = await page . spyOnEvent ( 'ionModalDidDismiss' ) ;
You can’t perform that action at this time.
0 commit comments