Browse Source

Removed API call in create app tests

master
Dean 4 years ago
parent
commit
338b5072a4
  1. 7
      packages/builder/cypress/integration/createApp.spec.js

7
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(() => {

Loading…
Cancel
Save