Hi awesome gurus, i would like to do cy.request with retries until it expects s certain state (e.g. body.data.status = ‘COMPLETE’). I tried something similar to the answer here but it didnt work (error is mixing async and sync code): https://stackoverflow.com/questions/54079106/cypress-request-with-retry … attached is my line of codes. pls help!
b
bitter-fountain-36713
06/03/2022, 12:40 AM
It looks like you'll need a recurse to continuously make the api request until