Browse Source

fix tests

gh-pages
Maurits Lourens 5 years ago
parent
commit
c22afdaf0f
  1. 6
      packages/builder/cypress/support/commands.js

6
packages/builder/cypress/support/commands.js

@ -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()

Loading…
Cancel
Save