Adding a wait for authentication in cypress tests.#
This commit is contained in:
parent
9c0a879e86
commit
6d5b13632f
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue