1
0
Fork 0
mirror of synced 2024-10-01 09:38:55 +13:00

use start from scratch instead of create app button

This commit is contained in:
Martin McKeaveney 2021-10-06 14:35:00 +01:00
parent 2f669e7b26
commit 29f8cfe7ac

View file

@ -30,7 +30,7 @@ Cypress.Commands.add("login", () => {
Cypress.Commands.add("createApp", name => {
cy.visit(`localhost:${Cypress.env("PORT")}/builder`)
cy.wait(500)
cy.contains(/Create (new )?app/).click()
cy.contains(/Start from scratch/).click()
cy.get(".spectrum-Modal")
.within(() => {
cy.get("input").eq(0).type(name).should("have.value", name).blur()