Skip to content

Commit

Permalink
fixup! ci: Increase timeout for editor to account for lazy loading
Browse files Browse the repository at this point in the history
  • Loading branch information
juliushaertl committed Nov 29, 2023
1 parent 0a3da62 commit d530993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit d530993

Please sign in to comment.