1
0
Fork 0
mirror of synced 2024-06-23 08:30:31 +12:00

Fix cypress tests

This commit is contained in:
Andrew Kingston 2020-10-15 08:17:26 +01:00
parent 313b26982e
commit b81dac0a11
2 changed files with 4 additions and 0 deletions

View file

@ -27,6 +27,8 @@ context("Create a Table", () => {
cy.get(".actions input")
.first()
.type("updated")
// Unset table display column
cy.contains("display column").click()
cy.contains("Save Column").click()
cy.contains("nameupdated").should("have.text", "nameupdated")
})

View file

@ -87,6 +87,8 @@ Cypress.Commands.add("addColumn", (tableName, columnName, type) => {
cy.get("input")
.first()
.type(columnName)
// Unset table display column
cy.contains("display column").click()
cy.get("select").select(type)
cy.contains("Save").click()
})