From d530993461e2d38fe228d46a5bca6cf9210e3fc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 29 Nov 2023 15:49:00 +0100 Subject: [PATCH] fixup! ci: Increase timeout for editor to account for lazy loading --- cypress/support/commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 53589d8ddc2..932b76b4fbf 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -358,8 +358,8 @@ Cypress.Commands.add('getModal', () => { Cypress.Commands.add('getEditor', { prevSubject: 'optional' }, (subject) => { return subject - ? cy.wrap(subject).find('[data-text-el="editor-container"]', { timeout: 10000 }) - : cy.get('[data-text-el="editor-container"]', { timeout: 10000 }) + ? cy.wrap(subject).find('[data-text-el="editor-container"]', { timeout: 20000 }) + : cy.get('[data-text-el="editor-container"]', { timeout: 20000 }) }) Cypress.Commands.add('getMenu', { prevSubject: 'optional' }, (subject) => {