1
0
Fork 0
mirror of synced 2024-06-29 11:31:06 +12:00

Removed API call in create app tests

This commit is contained in:
Dean 2022-07-03 19:50:12 +01:00
parent 87c44701d8
commit 338b5072a4

View file

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