From b6d9c0d14734b120b89a2e80b836ef8f15f09be0 Mon Sep 17 00:00:00 2001 From: Mitch-Budibase Date: Wed, 18 May 2022 17:30:13 +0100 Subject: [PATCH] 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. --- packages/builder/cypress/support/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/cypress/support/commands.js b/packages/builder/cypress/support/commands.js index 033d9a04a0..6655219cd7 100644 --- a/packages/builder/cypress/support/commands.js +++ b/packages/builder/cypress/support/commands.js @@ -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 }) } })