Small changes associated with the smoke build

Removing a line from addMultiOptionDatatype

Also adding a wait when creating an app - smoke build looks to have a timing issue with some tests
-Just a 2 second wait for now
This commit is contained in:
Mitch-Budibase 2022-01-18 17:25:09 +00:00
parent 9e168d743c
commit 9034f23fde
2 changed files with 2 additions and 1 deletions

View File

@ -39,4 +39,4 @@ context("Add Multi-Option Datatype", () => {
}) })
}) })
}) })
})

View File

@ -43,6 +43,7 @@ Cypress.Commands.add("createApp", name => {
} }
}) })
cy.contains(/Start from scratch/).dblclick() cy.contains(/Start from scratch/).dblclick()
cy.wait(2000)
cy.get(".spectrum-Modal").within(() => { cy.get(".spectrum-Modal").within(() => {
cy.get("input").eq(0).type(name).should("have.value", name).blur() cy.get("input").eq(0).type(name).should("have.value", name).blur()
cy.get(".spectrum-ButtonGroup").contains("Create app").click() cy.get(".spectrum-ButtonGroup").contains("Create app").click()