From d1a201bf0f2f4814a40978b53f73931d374ce049 Mon Sep 17 00:00:00 2001 From: Raju Udava Date: Fri, 29 Oct 2021 18:48:44 +0530 Subject: [PATCH] (test) cypress: delay after project open to allow page load Signed-off-by: Raju Udava --- scripts/cypress/support/commands.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/cypress/support/commands.js b/scripts/cypress/support/commands.js index 8ddea6e226..7cf6ed63b0 100644 --- a/scripts/cypress/support/commands.js +++ b/scripts/cypress/support/commands.js @@ -117,6 +117,9 @@ Cypress.Commands.add('openTableTab', (tn) => { cy.get('.nc-project-tree') .find('.v-list-item__title:contains(Tables)', { timeout: 10000 }) .first().click() + + // wait for page to load + cy.wait(500) }) Cypress.Commands.add('openOrCreateGqlProject', (_args) => {