Skip to content

Scenario.isFailed always return false #1215

New issue

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

Closed
olivierlemasle opened this issue Sep 5, 2017 · 1 comment · Fixed by #1216
Closed

Scenario.isFailed always return false #1215

olivierlemasle opened this issue Sep 5, 2017 · 1 comment · Fixed by #1216

Comments

@olivierlemasle
Copy link
Contributor

Summary

Since Cucumber JVM 2.0.0, Scenario.getStatus() returns an enum and Scenario.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 false

olivierlemasle added a commit to olivierlemasle/cucumber-jvm that referenced this issue Sep 5, 2017
Adapt `Scenario.isFailed()` to change in `Scenario.getStatus()`.

Fixes cucumber#1215.
mpkorstanje pushed a commit that referenced this issue Sep 5, 2017
Adapt `Scenario.isFailed()` to change in `Scenario.getStatus()`.

Fixes #1215.
@lock
Copy link

lock bot commented Oct 24, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 24, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant