Update command.js

Increasing wait for createApp function - Seems to be timing issues for the smoke build with this
This commit is contained in:
Mitch-Budibase 2022-05-04 18:08:09 +01:00
parent f2c7097f36
commit e96a5101e3
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ Cypress.Commands.add("createApp", (name, addDefaultTable) => {
typeof addDefaultTable != "boolean" ? true : addDefaultTable typeof addDefaultTable != "boolean" ? true : addDefaultTable
cy.visit(`${Cypress.config().baseUrl}/builder`) cy.visit(`${Cypress.config().baseUrl}/builder`)
cy.wait(500) cy.wait(1000)
cy.get(`[data-cy="create-app-btn"]`).click({ force: true }) cy.get(`[data-cy="create-app-btn"]`).click({ force: true })
// If apps already exist // If apps already exist