1
0
Fork 0
mirror of synced 2024-09-28 07:11:40 +12:00

update cypress to account for no default screen

This commit is contained in:
Peter Clement 2021-11-25 21:48:07 +00:00
parent 571954c197
commit 7831ce223a

View file

@ -182,7 +182,9 @@ Cypress.Commands.add("navigateToFrontend", () => {
cy.wait(1000)
cy.contains("Design").click()
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) => {