update cypress to account for no default screen
This commit is contained in:
parent
d42df03f25
commit
2945b15ee3
|
@ -182,7 +182,9 @@ Cypress.Commands.add("navigateToFrontend", () => {
|
||||||
cy.wait(1000)
|
cy.wait(1000)
|
||||||
cy.contains("Design").click()
|
cy.contains("Design").click()
|
||||||
cy.get(".spectrum-Search").type("/")
|
cy.get(".spectrum-Search").type("/")
|
||||||
cy.get(".nav-item").contains("Home").click()
|
cy.createScreen("home", "home")
|
||||||
|
cy.addComponent("Elements", "Headline")
|
||||||
|
cy.get(".nav-item").contains("home").click()
|
||||||
})
|
})
|
||||||
|
|
||||||
Cypress.Commands.add("createScreen", (screenName, route) => {
|
Cypress.Commands.add("createScreen", (screenName, route) => {
|
||||||
|
|
Loading…
Reference in New Issue