CodeceptJS icon indicating copy to clipboard operation
CodeceptJS copied to clipboard

Default retry for each scenario/feature

Open wjaros opened this issue 3 years ago • 2 comments

It would be nice to have option to set by default that scenario that fails will be retried given number of times.

wjaros avatar Aug 16 '22 11:08 wjaros

Do you mean one specific scenario? Or all scenarii of your project?

nicostubi avatar Aug 16 '22 18:08 nicostubi

Maybe I should have written every, yep I mean it would be nice to have an ability to set that by default every scenario in the project will be retried given number of times if fails instead of using .retry() for a single scenario, or a feature.

wjaros avatar Aug 16 '22 22:08 wjaros

Up - I also think this would be a nice option to set up the .retry() as default for every scenario/feature - it will save us a lot of lines of code ;)

JakubKasprzyk avatar Oct 07 '22 10:10 JakubKasprzyk

Implemented in 3.4.0

DavertMik avatar Feb 15 '23 23:02 DavertMik