fix tests

This commit is contained in:
Maurits Lourens 2021-09-15 18:16:22 +02:00
parent d9fc6212f2
commit 910e2f9a1d
1 changed files with 3 additions and 3 deletions

View File

@ -37,9 +37,8 @@ Cypress.Commands.add("createApp", name => {
cy.contains("Create app").click() cy.contains("Create app").click()
}) })
.then(() => { .then(() => {
cy.get(".selected > .content", { cy.get(".icon.arrow").eq(0).click()
timeout: 20000, cy.get(".nav-item.selected > .content").should("be.visible")
}).should("be.visible")
}) })
}) })
@ -83,6 +82,7 @@ Cypress.Commands.add("createTable", tableName => {
Cypress.Commands.add("addColumn", (tableName, columnName, type) => { Cypress.Commands.add("addColumn", (tableName, columnName, type) => {
// Select Table // Select Table
//cy.get(".icon.arrow").eq(0).click()
cy.contains(".nav-item", tableName).click() cy.contains(".nav-item", tableName).click()
cy.contains("Create column").click() cy.contains("Create column").click()