From 1246d25f0fae6e1f79fbb1e549bea3870e911ced Mon Sep 17 00:00:00 2001 From: Mitch-Budibase Date: Tue, 15 Nov 2022 16:20:40 +0000 Subject: [PATCH] Updating createAutomation.spec.js The + symbol button for creating an automation has been removed. It has been replaced with a button which says 'Add automation' I have updated the create automation test to now click on this button when creating a new automation. This test was failing due to the other button no longer existing --- packages/builder/cypress/integration/createAutomation.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/cypress/integration/createAutomation.spec.js b/packages/builder/cypress/integration/createAutomation.spec.js index b5ff406297..005f00cca6 100644 --- a/packages/builder/cypress/integration/createAutomation.spec.js +++ b/packages/builder/cypress/integration/createAutomation.spec.js @@ -12,7 +12,7 @@ filterTests(['smoke', 'all'], () => { cy.createTestTableWithData() cy.wait(2000) cy.contains("Automate").click() - cy.get(interact.ADD_BUTTON_SPECTRUM).click() + cy.get(interact.SPECTRUM_BUTTON_TEMPLATE).contains("Add automation").click({ force: true }) cy.get(interact.MODAL_INNER_WRAPPER).within(() => { cy.get("input").type("Add Row") cy.contains("Row Created").click({ force: true })