Updating createTable command

Changing an ID when asserting a table exists

- This change will fix the broken tests within the Cypress build
This commit is contained in:
Mitch-Budibase 2022-12-19 17:11:43 +00:00
parent 3e3808186c
commit eb79b2007e
1 changed files with 1 additions and 4 deletions

View File

@ -461,10 +461,7 @@ Cypress.Commands.add("createTable", (tableName, initialTable) => {
cy.get(".nav-item", { timeout: 2000 })
.contains("Budibase DB")
.click({ force: true })
cy.get(".spectrum-Tabs-content", { timeout: 2000 }).should(
"contain",
tableName
)
cy.get(".nav-item-content", { timeout: 2000 }).should("contain", tableName)
})
Cypress.Commands.add("createTestTableWithData", () => {