Update createDatasourceScreen

Adding a manual wait this time go better determine the timing issue occurring against the CI runs
This commit is contained in:
Mitch-Budibase 2022-09-07 13:52:05 +01:00
parent d92f161f11
commit 535007de2c
1 changed files with 1 additions and 0 deletions

View File

@ -642,6 +642,7 @@ Cypress.Commands.add(
cy.intercept("**/api/datasources").as("autoScreens")
cy.get(".spectrum-Button").contains("Continue").click({ force: true })
cy.wait("@autoScreens")
cy.wait(5000)
})
cy.get("[data-cy='autogenerated-screens']").should("not.exist")
cy.get("[data-cy='data-source-modal']", { timeout: 10000 }).within(() => {