1
0
Fork 0
mirror of synced 2024-08-15 10:01:34 +12:00

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

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", () => {