fix cypress tests again

This commit is contained in:
Peter Clement 2021-09-29 09:53:31 +01:00
parent 55d61a3293
commit fd96e1f7a2
1 changed files with 1 additions and 3 deletions

View File

@ -1,4 +1,3 @@
/*
context("Create a Table", () => { context("Create a Table", () => {
before(() => { before(() => {
cy.login() cy.login()
@ -37,7 +36,7 @@ context("Create a Table", () => {
it("edits a row", () => { it("edits a row", () => {
cy.contains("button", "Edit").click({ force: true }) cy.contains("button", "Edit").click({ force: true })
cy.wait(1000) cy.wait(1000)
cy.get(".spectrum-Modal input").type("RoverUpdated") cy.get(".spectrum-Modal input").type("Updated")
cy.contains("Save").click() cy.contains("Save").click()
cy.contains("RoverUpdated").should("have.text", "RoverUpdated") cy.contains("RoverUpdated").should("have.text", "RoverUpdated")
}) })
@ -70,4 +69,3 @@ context("Create a Table", () => {
cy.contains("dog").should("not.exist") cy.contains("dog").should("not.exist")
}) })
}) })
*/