From 57f5e8817d7ae654e5714fd1d87e2934970d3534 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 398936e27db..45291c225c0 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -363,8 +363,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) => {