jest-cucumber icon indicating copy to clipboard operation
jest-cucumber copied to clipboard

Retry steps

Open mpontus opened this issue 2 years ago • 0 comments

Hi. I've using cucumber-js to test infrastructure after deployment. Most of the scenarios involve eventually-consistent service, so virtually every step has to be attempted multiple times before it is successful.

With cucumber-js, I was able to use setDefinitionFunctionWrapper to implement retry logic on every step without changing step definitions.

I'm wondering if you have plans to support a similar kind of configuration for jest-cucumber or maybe an option to set per-step retry attempts?

mpontus avatar Feb 23 '23 17:02 mpontus