diff --git a/packages/builder/cypress/support/commands.js b/packages/builder/cypress/support/commands.js index 8bda515fbc..ea6ca81e66 100644 --- a/packages/builder/cypress/support/commands.js +++ b/packages/builder/cypress/support/commands.js @@ -34,7 +34,7 @@ Cypress.Commands.add("createApp", name => { cy.get(".spectrum-Modal") .within(() => { 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(() => { cy.expandBudibaseConnection()