Fix cypress tests due to renaming of 'Create new app' text

This commit is contained in:
Andrew Kingston 2021-09-16 16:53:55 +01:00
parent 9ad2114859
commit 88ea38e9ed
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ Cypress.Commands.add("createApp", name => {
cy.get(".spectrum-Modal") cy.get(".spectrum-Modal")
.within(() => { .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.contains("Create app").click() cy.get(".spectrum-ButtonGroup").contains("Create app").click()
}) })
.then(() => { .then(() => {
cy.expandBudibaseConnection() cy.expandBudibaseConnection()