StoryRunner.runParametrisedScenariosByExamples does not execute the examples after the first failure

Description

Currently, the method StoryRunner.runParametrisedScenariosByExamples does not
check the configuration and whenever a step fails all subsequent examples are
reported as not performed.

A simple fix would be to do this before calling the runScenarioSteps method:

if(context.configuration().storyControls().resetStateBeforeScenario()) {
context.resetState();
}

Thanks

Assignee

Unassigned

Reporter

Plamen Gurov

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure