1
0
Fork 0
mirror of synced 2024-08-26 15:31:48 +12:00

createDatasourceScreen - increase timeouts

This commit is contained in:
Mitch-Budibase 2022-09-06 10:23:04 +01:00
parent 7f94953c3a
commit 7a281064c8

View file

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