Merge pull request #7676 from Budibase/Cypress-Smoke

Cypress: Smoke: Update createDatasourceScreen command
This commit is contained in:
Mitch-Budibase 2022-09-07 14:11:48 +01:00 committed by GitHub
commit c0fbcc6f86
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(() => {