From 910e2f9a1d042a106051f1cc88fd25987308bc12 Mon Sep 17 00:00:00 2001 From: Maurits Lourens Date: Wed, 15 Sep 2021 18:16:22 +0200 Subject: [PATCH] fix tests --- packages/builder/cypress/support/commands.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builder/cypress/support/commands.js b/packages/builder/cypress/support/commands.js index 261b840577..2b27b294fb 100644 --- a/packages/builder/cypress/support/commands.js +++ b/packages/builder/cypress/support/commands.js @@ -37,9 +37,8 @@ Cypress.Commands.add("createApp", name => { cy.contains("Create app").click() }) .then(() => { - cy.get(".selected > .content", { - timeout: 20000, - }).should("be.visible") + cy.get(".icon.arrow").eq(0).click() + cy.get(".nav-item.selected > .content").should("be.visible") }) }) @@ -83,6 +82,7 @@ Cypress.Commands.add("createTable", tableName => { Cypress.Commands.add("addColumn", (tableName, columnName, type) => { // Select Table + //cy.get(".icon.arrow").eq(0).click() cy.contains(".nav-item", tableName).click() cy.contains("Create column").click()