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()
})
.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()