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

Adding and increasing wait times surrounding renameAnApplication.spec.js

Passes locally but looks like a timing issue when run against the CI.

Adding and increasing wait times to hopefully combat this. I will extend further if unsuccessful
This commit is contained in:
Mitch-Budibase 2022-04-01 12:05:31 +01:00
parent 69d6dbc23a
commit 5525859ba7
2 changed files with 2 additions and 1 deletions

View file

@ -92,6 +92,7 @@ filterTests(['all'], () => {
})
const renameApp = (originalName, changedName, published, noName) => {
cy.wait(2000)
cy.searchForApplication(originalName)
cy.request(`${Cypress.config().baseUrl}/api/applications?status=all`)
.its("body")

View file

@ -342,7 +342,7 @@ Cypress.Commands.add("addCustomSourceOptions", totalOptions => {
//Filters visible with 1 or more
Cypress.Commands.add("searchForApplication", appName => {
cy.wait(1000)
cy.wait(2000)
// Searches for the app
cy.get(".filter").then(() => {
cy.get(".spectrum-Textfield").within(() => {