1
0
Fork 0
mirror of synced 2024-06-27 18:40:42 +12:00

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

View file

@ -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
})
})