Increasing wait for closeModal command
changing to 1 second to assist with CI runs
This commit is contained in:
parent
7c6f73388a
commit
1967b5c02a
|
@ -35,7 +35,7 @@ Cypress.Commands.add("login", () => {
|
|||
Cypress.Commands.add("closeModal", () => {
|
||||
cy.get(".spectrum-Modal").within(() => {
|
||||
cy.get(".close-icon").click()
|
||||
cy.wait(500)
|
||||
cy.wait(1000) // Wait for modal to close
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue