1
0
Fork 0
mirror of synced 2024-06-02 18:44:54 +12:00

createDatasourceScreen - increase timeouts

This commit is contained in:
Mitch-Budibase 2022-09-06 10:23:04 +01:00
parent ad30fe1799
commit 19f29789e6

View file

@ -646,11 +646,11 @@ Cypress.Commands.add(
}).within(() => {
for (let i = 0; i < datasourceNames.length; i++) {
cy.get(".data-source-entry", { timeout: 10000 })
.contains(datasourceNames[i])
.contains(datasourceNames[i], { timeout: 10000 })
.click({ force: true })
//Ensure the check mark is visible
cy.get(".data-source-entry")
.contains(datasourceNames[i])
.contains(datasourceNames[i], { timeout: 10000 })
.get(".data-source-check", { timeout: 10000 })
.should("exist")
}