Skip to content

Report undefined and ambiguous Cucumber steps as broken - #1419

Merged
baev merged 1 commit into
mainfrom
fix-1029
Sep 7, 2026
Merged

Report undefined and ambiguous Cucumber steps as broken#1419
baev merged 1 commit into
mainfrom
fix-1029

Conversation

@baev

@baev baev commented Sep 4, 2026

Copy link
Copy Markdown
Member

Context

Cucumber 7 scenarios containing undefined or ambiguous steps are now reported as broken. This prevents an undefined final step from making a scenario appear passed. The affected step is also marked broken, while subsequent steps remain skipped.

Both the scenario and affected step include diagnostic details: undefined steps explain that a step definition is missing, and ambiguous steps preserve Cucumber’s exception message and stack trace identifying the conflicting definitions.

fixes #1029

Checklist

@baev baev added the pr:bug Something isn't working label Sep 4, 2026
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Java – Pull request #1419 37m 34s Passed tests 2289 0 0 0 View
Allure Java GitHub actions run (2026-09-07T08:45:07.679Z) 37m 34s Passed tests 2289 0 0 0 View

@baev baev changed the title Report undefined Cucumber steps as broken Report undefined and ambiguous Cucumber steps as broken Sep 7, 2026
@baev
baev merged commit e3fba77 into main Sep 7, 2026
11 checks passed
@baev
baev deleted the fix-1029 branch September 7, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞: Allure Report with Cucumber Passed When Last Step is Undefined

2 participants