1
0
Fork 0
mirror of synced 2024-09-03 19:21:11 +12:00

Create App/Table tests update

Changes made for the smoke build

- UI changes required createTable update
- User Information needed updated for the createApp tests
This commit is contained in:
Mitch-Budibase 2022-08-11 13:26:27 +01:00
parent 41f5e3dbfd
commit fad1415179
2 changed files with 2 additions and 1 deletions

View file

@ -94,6 +94,7 @@ filterTests(['smoke', 'all'], () => {
}) })
it("should create the first application from scratch with a default name", () => { it("should create the first application from scratch with a default name", () => {
cy.updateUserInformation("", "")
cy.createApp("", false) cy.createApp("", false)
cy.applicationInAppTable("My app") cy.applicationInAppTable("My app")
cy.deleteApp("My app") cy.deleteApp("My app")

View file

@ -48,7 +48,7 @@ filterTests(["smoke", "all"], () => {
it("deletes a row", () => { it("deletes a row", () => {
cy.get(interact.SPECTRUM_CHECKBOX_INPUT).check({ force: true }) cy.get(interact.SPECTRUM_CHECKBOX_INPUT).check({ force: true })
cy.contains("Delete 1 row(s)").click() cy.contains("Delete 1 row").click()
cy.get(interact.SPECTRUM_MODAL).contains("Delete").click() cy.get(interact.SPECTRUM_MODAL).contains("Delete").click()
cy.contains("RoverUpdated").should("not.exist") cy.contains("RoverUpdated").should("not.exist")
}) })