From 8bb98959abf483b2c013a4f1892b0683b9e7d1e3 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Tue, 3 May 2022 18:24:18 +0530 Subject: [PATCH] test/cypress: fix for table rename validation suite Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- scripts/cypress/integration/common/1a_table_operations.js | 2 +- scripts/cypress/support/commands.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/cypress/integration/common/1a_table_operations.js b/scripts/cypress/integration/common/1a_table_operations.js index 6c3ff10ff6..ce208bbc05 100644 --- a/scripts/cypress/integration/common/1a_table_operations.js +++ b/scripts/cypress/integration/common/1a_table_operations.js @@ -12,7 +12,7 @@ export const genTest = (apiType, dbType) => { }); after(() => { - cy.get(".mdi-close").click({ multiple: true }); + cy.get(".mdi-close").click({ multiple: true, force: true }); }); const name = "tablex"; diff --git a/scripts/cypress/support/commands.js b/scripts/cypress/support/commands.js index d89763d67e..6661944a2c 100644 --- a/scripts/cypress/support/commands.js +++ b/scripts/cypress/support/commands.js @@ -338,9 +338,6 @@ Cypress.Commands.add("renameTable", (oldName, newName) => { .should('exist') .first() .click(); - - // kludge: tab appears to flush re-load. wait for it to stabalize - cy.wait(8000) }); Cypress.Commands.add("createColumn", (table, columnName) => {