@@ -75,17 +75,17 @@ describe('Nextcloud integration', function() {
7575 . should ( 'be.visible' )
7676
7777 cy . get ( 'button[aria-label="File"]' ) . click ( )
78- cy . get ( 'button[aria-label="Save As"]' )
79- . should ( 'be.visible' , { timeout : 10_000 } )
78+ cy . get ( 'button[aria-label="Save As"]' , { timeout : 10_000 } )
79+ . should ( 'be.visible' )
8080 . click ( )
8181
82- cy . get ( '#saveas-entries > div' )
82+ cy . get ( '#saveas-entries > div' , { timeout : 10_000 } )
8383 . contains ( 'Rich Text (.rtf)' )
8484 . should ( 'be.visible' )
8585 . click ( )
8686 } )
8787
88- cy . get ( '.saveas-dialog' ) . should ( 'be.visible' )
88+ cy . get ( '.saveas-dialog' , { timeout : 10_000 } ) . should ( 'be.visible' )
8989 cy . get ( '.saveas-dialog input[type=text]' )
9090 . should ( 'be.visible' )
9191 . should ( 'have.value' , `/${ exportFilename } ` )
@@ -96,9 +96,9 @@ describe('Nextcloud integration', function() {
9696 cy . waitForPostMessage ( 'Action_Save_Resp' , { success : true , fileName : exportFilename } )
9797
9898 cy . get ( '@loleafletframe' ) . within ( ( ) => {
99- cy . get ( '#closebutton' ) . click ( )
100- cy . waitForViewerClose ( )
99+ cy . get ( '#closebutton' , { timeout : 10000 } ) . should ( 'be.visible' ) . click ( )
101100 } )
101+ cy . waitForViewerClose ( )
102102
103103 cy . openFile ( exportFilename )
104104 } )
0 commit comments