Max attempts can be changed by the user
This commit is contained in:
parent
3772e89b9c
commit
06d6908507
|
@ -302,7 +302,7 @@ abstract class GherkinIntegrationTestRunner {
|
||||||
result = new StepResult(
|
result = new StepResult(
|
||||||
0, StepExecutionResult.skipped, "Previous step(s) failed.");
|
0, StepExecutionResult.skipped, "Previous step(s) failed.");
|
||||||
} else {
|
} else {
|
||||||
for (int i = 0; i < 3; i++) {
|
for (int i = 0; i < this.configuration.stepMaxRetries; i++) {
|
||||||
result = await executable.step.run(
|
result = await executable.step.run(
|
||||||
dependencies.world,
|
dependencies.world,
|
||||||
reporter,
|
reporter,
|
||||||
|
|
Loading…
Reference in New Issue