Increasing wait for closeModal command
changing to 1 second to assist with CI runs
This commit is contained in:
parent
333279f66c
commit
1440ab18f3
|
@ -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