Test fix.

This commit is contained in:
mike12345567 2023-02-07 10:16:40 +00:00
parent 464ab7a1bb
commit 173f62f8f3
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ describe("/automations", () => {
let elements = await getAllTableRows(config) let elements = await getAllTableRows(config)
// don't test it unless there are values to test // don't test it unless there are values to test
if (elements.length > 1) { if (elements.length > 1) {
expect(elements.length).toEqual(5) expect(elements.length).toBeGreaterThanOrEqual(MAX_RETRIES)
expect(elements[0].name).toEqual("Test") expect(elements[0].name).toEqual("Test")
expect(elements[0].description).toEqual("TEST") expect(elements[0].description).toEqual("TEST")
return return