1
0
Fork 0
mirror of synced 2024-06-23 08:30:31 +12:00

Adding a wait for authentication in cypress tests.#

This commit is contained in:
mike12345567 2021-04-07 20:19:25 +01:00
parent 9c0a879e86
commit 6d5b13632f

View file

@ -26,6 +26,8 @@
Cypress.Commands.add("createApp", name => {
cy.visit(`localhost:${Cypress.env("PORT")}/builder`)
// wait for init API calls on visit
cy.wait(100)
cy.contains("Create New Web App").click()
cy.get("body")
.then($body => {