1
0
Fork 0
mirror of synced 2024-06-27 02:20:35 +12: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 5d64be2b73
commit f8b76a4860

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()