Increasing wait for closeModal command

changing to 1 second to assist with CI runs
This commit is contained in:
Mitch-Budibase 2022-05-19 17:53:31 +01:00
parent 333279f66c
commit 1440ab18f3
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ Cypress.Commands.add("login", () => {
Cypress.Commands.add("closeModal", () => { Cypress.Commands.add("closeModal", () => {
cy.get(".spectrum-Modal").within(() => { cy.get(".spectrum-Modal").within(() => {
cy.get(".close-icon").click() cy.get(".close-icon").click()
cy.wait(500) cy.wait(1000) // Wait for modal to close
}) })
}) })