Merge pull request #5909 from Budibase/cypress-testing

Adding Retries for Cypress tests
This commit is contained in:
Mitch-Budibase 2022-05-16 15:52:31 +01:00 committed by GitHub
commit 84157ed7b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -7,5 +7,9 @@
"WORKER_PORT": "4200", "WORKER_PORT": "4200",
"JWT_SECRET": "test", "JWT_SECRET": "test",
"HOST_IP": "" "HOST_IP": ""
},
"retries": {
"runMode": 2,
"openMode": 0
} }
} }

View File

@ -573,7 +573,7 @@ Cypress.Commands.add("addDatasourceConfig", (datasource, skipFetch) => {
cy.get(".spectrum-Button") cy.get(".spectrum-Button")
.contains("Save and fetch tables") .contains("Save and fetch tables")
.click({ force: true }) .click({ force: true })
cy.wait(1000) cy.wait(3000)
}) })
} }
}) })