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
juliusknorr committed Nov 29, 2023
1 parent 7e74e86 commit 57f5e88
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 @@ -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) => {
Expand Down

0 comments on commit 57f5e88

Please sign in to comment.