Skip to content

Commit

Permalink
take back "isInDataDrivenTest" flag for stepFailed (#3360)
Browse files Browse the repository at this point in the history
  • Loading branch information
cliviu authored Dec 16, 2023
1 parent 0c443b8 commit 5847e24
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -924,15 +924,9 @@ public void stepFailed(StepFailure failure, List<ScreenshotAndHtmlSource> screen
getCurrentTestOutcome().appendTestFailure(failureCause);

recordFailureDetails(failure);
// Step marked as done with the appropriate result before
if (isInDataDrivenTest) {
currentStepDone(failureAnalysis.resultFor(failure));
}
}
if (!isInDataDrivenTest) {
// Step marked as done with the appropriate result before
currentStepDone(failureAnalysis.resultFor(failure));
}
// Step marked as done with the appropriate result before
currentStepDone(failureAnalysis.resultFor(failure));
}


Expand Down

0 comments on commit 5847e24

Please sign in to comment.