AutoScreens Test update
increasing wait time for createAutogeneratedScreens command -associated with auto screens tests
This commit is contained in:
parent
5c972f4510
commit
ca8eaf0df3
|
@ -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')
|
||||
|
|
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue