Max attempts can be changed by the user

This commit is contained in:
Bart Vermeulen 2022-05-03 19:53:21 +02:00
parent 3772e89b9c
commit 06d6908507
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ abstract class GherkinIntegrationTestRunner {
result = new StepResult(
0, StepExecutionResult.skipped, "Previous step(s) failed.");
} else {
for (int i = 0; i < 3; i++) {
for (int i = 0; i < this.configuration.stepMaxRetries; i++) {
result = await executable.step.run(
dependencies.world,
reporter,