Skip to content

Commit

Permalink
test(cypress): Remove ridiculously long timeout when waiting for editor
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Nov 6, 2023
1 parent b1839b5 commit fa300a4
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 @@ -75,7 +75,7 @@ Cypress.Commands.add('switchPageMode', (pageMode) => {
cy.get('button.titleform-button')
.should('contain', 'Edit')
.click()
cy.getEditor(Cypress.config('defaultCommandTimeout') * 15)
cy.getEditor()
.should('be.visible')
} else {
throw new Error(`Unknown page mode: ${pageMode}`)
Expand Down

0 comments on commit fa300a4

Please sign in to comment.