there is an option to use in cypress.json called "retries" that defines the number of times a failed test will be retried.
The way I have written my tests there is some relation between the tests (test1 : create entry and get id, test2: get entry by id and edit it, test3: delete by id ) and most times the retries do not help me avoid flakiness and all the retries fail.
I can use the retry option in my CI/CD that will retry all the specs. which is too wasteful and not super helpful as I might get a flaky error in some other test in the second retry.
So ideally, I would like to retry the whole spec when it fails, is there a way to do this?
EDIT:
even if configured in describe at the top of the spec, retries are still per test:
