Cypress Tests - Use Get Timeouts
This commit is contained in:
parent
4c7bdcded1
commit
b9d7cfdec1
|
@ -105,11 +105,9 @@ Cypress.Commands.add("addButtonComponent", () => {
|
|||
})
|
||||
|
||||
Cypress.Commands.add("navigateToFrontend", () => {
|
||||
cy.wait(4000)
|
||||
cy.get(".close").click()
|
||||
cy.get(".close", { timeout: 10000 }).click()
|
||||
cy.contains("frontend").click()
|
||||
cy.wait(2000)
|
||||
cy.get(".close").click()
|
||||
cy.get(".close", { timeout: 10000 }).click()
|
||||
})
|
||||
|
||||
Cypress.Commands.add("createScreen", (screenName, route) => {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { find, isUndefined, filter, some, includes } from "lodash/fp"
|
||||
import { isUndefined, filter, some, includes } from "lodash/fp"
|
||||
import { pipe } from "components/common/core"
|
||||
|
||||
const normalString = s => (s || "").trim().toLowerCase()
|
||||
|
|
Loading…
Reference in New Issue