Skip to content

Commit 2a61c58

Browse files
committed
test cypress timeouts
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
1 parent 0d84f7d commit 2a61c58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cypress/e2e/open.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ describe('Open existing office files', function() {
3939
cy.waitForPostMessage('App_LoadingStatus', { Status: 'Document_Loaded' })
4040

4141
// Share action
42-
cy.wait(2000)
42+
// cy.wait(2000)
4343
cy.get('@loleafletframe').within(() => {
44-
cy.get('#main-menu #menu-file > a').click()
44+
cy.get('#main-menu #menu-file > a', { timeout: 20000 }).click()
4545
cy.get('#main-menu #menu-shareas > a').should('be.visible').click()
4646
})
4747
cy.verifyOpen(filename)
@@ -69,7 +69,7 @@ describe('Open existing office files', function() {
6969

7070
cy.screenshot('open-file_' + filename)
7171
cy.get('@loleafletframe').within(() => {
72-
cy.get('input#document-name-input')
72+
cy.get('input#document-name-input', { timeout: 10000 })
7373
.should('be.visible')
7474
.invoke('val')
7575
.should('equal', filename)

0 commit comments

Comments
 (0)