From 2e53a802197a885f1d07396db3b6a54e76c108c5 Mon Sep 17 00:00:00 2001 From: Mitch-Budibase Date: Wed, 11 May 2022 16:49:27 +0100 Subject: [PATCH] Update DeleteApp function & Enable Cypress video flag Commands.js - DeleteApp does not need specific functionality for test env cypress.json - Enabling video flag for Cypress --- packages/builder/cypress.json | 2 +- packages/builder/cypress/support/commands.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/builder/cypress.json b/packages/builder/cypress.json index edad1f39d3..3e4d4c4d1b 100644 --- a/packages/builder/cypress.json +++ b/packages/builder/cypress.json @@ -1,6 +1,6 @@ { "baseUrl": "http://localhost:4100", - "video": false, + "video": true, "projectId": "bmbemn", "env": { "PORT": "4100", diff --git a/packages/builder/cypress/support/commands.js b/packages/builder/cypress/support/commands.js index ce1fe2ec50..37fdc900ee 100644 --- a/packages/builder/cypress/support/commands.js +++ b/packages/builder/cypress/support/commands.js @@ -75,9 +75,6 @@ Cypress.Commands.add("deleteApp", name => { const findAppName = val.some(val => val.name == name) if (findAppName) { if (val.length > 0) { - if (Cypress.env("TEST_ENV")) { - cy.searchForApplication(name) - } const appId = val.reduce((acc, app) => { if (name === app.name) { acc = app.appId