From d4c79354b3addc778272a18efeb90253ab45cfd6 Mon Sep 17 00:00:00 2001 From: Maarten de Waard <maarten@greenhost.nl> Date: Wed, 21 Sep 2022 16:56:42 +0200 Subject: [PATCH] increase timeout in cypress because onlyoffice is slow at loading --- cypress/e2e/test-nextcloud.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/test-nextcloud.cy.js b/cypress/e2e/test-nextcloud.cy.js index 69dd7bf0..7104ff4f 100644 --- a/cypress/e2e/test-nextcloud.cy.js +++ b/cypress/e2e/test-nextcloud.cy.js @@ -59,7 +59,7 @@ describe('Test nextcloud', () => { cy.iframe('#onlyofficeFrame').within(() => { cy.frameLoaded('[name="frameEditor"]') cy.iframe('[name="frameEditor"]').within(() => { - cy.get('#id-toolbar-btn-italic').should('be.visible').click() + cy.get('#id-toolbar-btn-italic').should('be.visible').click({timeout: 60000}) cy.get('#id_main').click().type('Hi from Cypress!') }) }) -- GitLab