Skip to content

Commit

Permalink
ci: Increase timeout for editor to account for lazy loading
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliushaertl committed Nov 29, 2023
1 parent e9934ca commit c0a6ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit c0a6ee8

Please sign in to comment.