From 88ea38e9ed0e4e15c6fde2c881a0ae2e93a83ab0 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 16 Sep 2021 16:53:55 +0100 Subject: [PATCH] Fix cypress tests due to renaming of 'Create new app' text --- packages/builder/cypress/support/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()