fix cypress

This commit is contained in:
Peter Clement 2022-01-20 09:44:40 +00:00
parent 15e8b64e6e
commit a3519ac1aa
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ Cypress.Commands.add("createApp", name => {
cy.get(".spectrum-Button").contains("Create app").click({ force: true }) cy.get(".spectrum-Button").contains("Create app").click({ force: true })
} }
}) })
cy.contains(/Start from scratch/).dblclick() cy.contains(/Create App/).click()
cy.get(".spectrum-Modal").within(() => { cy.get(".spectrum-Modal").within(() => {
cy.get("input").eq(0).type(name).should("have.value", name).blur() cy.get("input").eq(0).type(name).should("have.value", name).blur()
cy.get(".spectrum-ButtonGroup").contains("Create app").click() cy.get(".spectrum-ButtonGroup").contains("Create app").click()