appOverview Cypress Test Update

The test 'Should reflect an application that has been unpublished' failed on last nights build. This is likely a timing issue.

I have included a wait and timeout within the test. It passes locally, just not on the nightly build
This commit is contained in:
Mitch-Budibase 2022-12-06 11:01:25 +00:00
parent 95b332a351
commit 9337d9fbf4
1 changed files with 2 additions and 1 deletions

View File

@ -140,7 +140,8 @@ filterTests(["all"], () => {
})
cy.visit(`${Cypress.config().baseUrl}/builder`)
cy.get(".appTable .app-row-actions button")
cy.wait(1000)
cy.get(".appTable .app-row-actions button", { timeout: 10000 })
.contains("Manage")
.eq(0)
.click({ force: true })