1
0
Fork 0
mirror of synced 2024-08-18 03:21:29 +12:00

fix cypress, maybe?

This commit is contained in:
Peter Clement 2022-03-01 11:39:48 +00:00
parent 6095b5cb87
commit baf6c64e24

View file

@ -27,10 +27,13 @@ filterTests(["smoke", "all"], () => {
it("updates a column on the table", () => {
cy.get(".title").click()
cy.get(".spectrum-Table-editIcon > use").click()
cy.get("input").eq(1).type("updated", { force: true })
cy.get(".modal-inner-wrapper").within(() => {
cy.get("input").eq(0).type("updated", { force: true })
// Unset table display column
cy.get(".spectrum-Switch-input").eq(1).click()
cy.contains("Save Column").click()
})
cy.contains("nameupdated ").should("contain", "nameupdated")
})