From 72adb450b364bcf922bde13b7f5d3a6c7d07b622 Mon Sep 17 00:00:00 2001 From: Mitch-Budibase Date: Wed, 8 Jun 2022 17:14:02 +0100 Subject: [PATCH] Minor Smoke Build Test changes Updates for appOverview & autoScreensUI --- packages/builder/cypress/integration/appOverview.spec.js | 7 ++----- packages/builder/cypress/integration/autoScreensUI.spec.js | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/builder/cypress/integration/appOverview.spec.js b/packages/builder/cypress/integration/appOverview.spec.js index 090e4e369b..7acfbc5f69 100644 --- a/packages/builder/cypress/integration/appOverview.spec.js +++ b/packages/builder/cypress/integration/appOverview.spec.js @@ -309,11 +309,8 @@ filterTests(['all'], () => { cy.visit(`${Cypress.config().baseUrl}/builder`) cy.get(".appTable .name").eq(0).click() - cy.get(".app-overview-actions-icon > .icon").click({ force : true }) - - cy.get("[data-cy='app-overview-menu-popover']").eq(0).within(() => { - cy.get(".spectrum-Menu-item").contains("Unpublish").click({ force: true }) - cy.wait(500) + cy.get(".overview-tab [data-cy='app-status']").within(() => { + cy.get(".spectrum-Link").contains("Unpublish").click() }) cy.get("[data-cy='unpublish-modal']").should("be.visible") diff --git a/packages/builder/cypress/integration/autoScreensUI.spec.js b/packages/builder/cypress/integration/autoScreensUI.spec.js index eebeac3e71..ca997479ae 100644 --- a/packages/builder/cypress/integration/autoScreensUI.spec.js +++ b/packages/builder/cypress/integration/autoScreensUI.spec.js @@ -5,6 +5,7 @@ filterTests(['smoke', 'all'], () => { context("Auto Screens UI", () => { before(() => { cy.login() + cy.deleteAllApps() }) it("should disable the autogenerated screen options if no sources are available", () => {