Reputation: 11
I need to repeat whole describe() section in case of errors instead of repeating only it() function, because it depends on previous cases.
This is what I want to repeat
I've tried setting "retries" in cypress.json file, but how i said, it repeats every single step, not whole test case. Is there any way to do it?
Upvotes: 1
Views: 124
Reputation:
Try adding the retries option to the describe,
describe('...', { retires: 4 }, () => { ...
Upvotes: 2