1
0
Fork 0
mirror of synced 2024-06-18 18:35:37 +12:00

AutoScreens Test update

increasing wait time for createAutogeneratedScreens command
-associated with auto screens tests
This commit is contained in:
Mitch-Budibase 2022-01-21 18:40:32 +00:00
parent 85003f5b9c
commit b5a9329695
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ filterTests(['smoke', 'all'], () => {
// Create autogenerated screens from the internal table
cy.createAutogeneratedScreens(["Cypress Tests"])
// Confirm screens have been auto generated
cy.get(".nav-items-container").contains("cypress-tests").click()
cy.get(".nav-items-container").contains("cypress-tests").click({ force: true })
cy.get(".nav-items-container").should('contain', 'cypress-tests/:id')
.and('contain', 'cypress-tests/new/row')
})
@ -24,7 +24,7 @@ filterTests(['smoke', 'all'], () => {
// Create autogenerated screens from the internal tables
cy.createAutogeneratedScreens([initialTable, secondTable])
// Confirm screens have been auto generated
cy.get(".nav-items-container").contains("cypress-tests").click()
cy.get(".nav-items-container").contains("cypress-tests").click({ force: true })
// Previously generated tables are suffixed with numbers - as expected
cy.get(".nav-items-container").should('contain', 'cypress-tests-2/:id')
.and('contain', 'cypress-tests-2/new/row')

View file

@ -264,7 +264,7 @@ Cypress.Commands.add("createAutogeneratedScreens", screenNames => {
cy.get(".item").contains(screenNames[i]).click()
}
cy.get(".spectrum-Button").contains("Add Screens").click({ force: true })
cy.wait(2000)
cy.wait(4000)
})
Cypress.Commands.add("addRow", values => {