Skip to content

Commit 0a3da62

Browse files
committed
ci: Increase timeout for editor to account for lazy loading
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent e9934ca commit 0a3da62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cypress/support/commands.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ Cypress.Commands.add('getModal', () => {
358358

359359
Cypress.Commands.add('getEditor', { prevSubject: 'optional' }, (subject) => {
360360
return subject
361-
? cy.wrap(subject).find('[data-text-el="editor-container"]')
362-
: cy.get('[data-text-el="editor-container"]')
361+
? cy.wrap(subject).find('[data-text-el="editor-container"]', { timeout: 10000 })
362+
: cy.get('[data-text-el="editor-container"]', { timeout: 10000 })
363363
})
364364

365365
Cypress.Commands.add('getMenu', { prevSubject: 'optional' }, (subject) => {

0 commit comments

Comments
 (0)