Updated Commands - Datasource Command

Adding a timeout associated with the fetch tables request

Another attempt at sorting this for the smoke build - it only fails there and is timing related.
This commit is contained in:
Mitch-Budibase 2022-05-18 17:30:13 +01:00
parent 464a67094a
commit 80c7f1fcfe
1 changed files with 1 additions and 1 deletions

View File

@ -650,7 +650,7 @@ Cypress.Commands.add("addDatasourceConfig", (datasource, skipFetch) => {
.click({ force: true })
})
// Wait for tables to be fetched
cy.wait("@datasourceTables")
cy.wait("@datasourceTables", { timeout: 60000 })
}
})