From c0a6ee8fc46ac15b9041b839c1abe2bc673c19f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 29 Nov 2023 12:37:23 +0100 Subject: [PATCH] ci: Increase timeout for editor to account for lazy loading MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- cypress/support/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/support/commands.js b/cypress/support/commands.js index daf04d01d18..7b5eaca724e 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -359,7 +359,7 @@ Cypress.Commands.add('getModal', () => { Cypress.Commands.add('getEditor', { prevSubject: 'optional' }, (subject) => { return subject ? cy.wrap(subject).find('[data-text-el="editor-container"]') - : cy.get('[data-text-el="editor-container"]') + : cy.get('[data-text-el="editor-container"]', { timeout: 10000 }) }) Cypress.Commands.add('getMenu', { prevSubject: 'optional' }, (subject) => {