From 152b5d5922a7f9e24cd9ed2a18eeee1d51feb345 Mon Sep 17 00:00:00 2001 From: Dean Date: Sun, 3 Jul 2022 19:50:12 +0100 Subject: [PATCH] Removed API call in create app tests --- packages/builder/cypress/integration/createApp.spec.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/builder/cypress/integration/createApp.spec.js b/packages/builder/cypress/integration/createApp.spec.js index 097b70db30..00c875e4fa 100644 --- a/packages/builder/cypress/integration/createApp.spec.js +++ b/packages/builder/cypress/integration/createApp.spec.js @@ -52,13 +52,6 @@ filterTests(['smoke', 'all'], () => { // Start create app process. If apps already exist, click second button cy.get(interact.CREATE_APP_BUTTON, { timeout: 1000 }).click({ force: true }) - cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`) - .its("body") - .then(val => { - if (val.length > 0) { - cy.get(interact.CREATE_APP_BUTTON).click({ force: true }) - } - }) const appName = "Cypress Tests" cy.get(interact.SPECTRUM_MODAL).within(() => {