We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Since Cucumber JVM 2.0.0, Scenario.getStatus() returns an enum and Scenario.isFailed() has not been updated, which means it always return false.
Scenario.getStatus()
Scenario.isFailed()
When a scenario is failed, Scenario.isFailed() should return true.
Scenario.isFailed() always return false
The text was updated successfully, but these errors were encountered:
Fix Scenario.isFailed
ee28be2
Adapt `Scenario.isFailed()` to change in `Scenario.getStatus()`. Fixes cucumber#1215.
c671313
Adapt `Scenario.isFailed()` to change in `Scenario.getStatus()`. Fixes #1215.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Summary
Since Cucumber JVM 2.0.0,
Scenario.getStatus()
returns an enum andScenario.isFailed()
has not been updated, which means it always return false.Expected Behavior
When a scenario is failed,
Scenario.isFailed()
should return true.Current Behavior
Scenario.isFailed()
always return falseThe text was updated successfully, but these errors were encountered: