removes unneeded wait in view cypress test

This commit is contained in:
Keviin Åberg Kultalahti 2021-04-01 11:59:56 +02:00
parent 92fde68965
commit 7c6fc51e80
1 changed files with 0 additions and 1 deletions

View File

@ -21,7 +21,6 @@ context("Create a View", () => {
cy.get("input").type("Test View") cy.get("input").type("Test View")
cy.contains("Save View").click() cy.contains("Save View").click()
}) })
cy.wait(1000)
cy.get(".table-title h1").contains("Test View") cy.get(".table-title h1").contains("Test View")
cy.get("[data-cy=table-header]").then($headers => { cy.get("[data-cy=table-header]").then($headers => {
expect($headers).to.have.length(3) expect($headers).to.have.length(3)