Skip to content

core: Fix step argument index offset - #3248

Merged
mpkorstanje merged 1 commit into
mainfrom
fix-step-argument-index
Sep 24, 2026
Merged

mpkorstanje merged 1 commit into
mainfrom
fix-step-argument-index

Conversation

@mpkorstanje

@mpkorstanje mpkorstanje commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

πŸ€” What's changed?

Cucumber combines arguments from cucumber expressions with arguments from gherkin steps. The latter should have their index offset by the number of arguments from the cucumber expression.

⚑️ What's your motivation?

Fixes: #3247

🏷️ What kind of change is this?

  • πŸ› Bug fix (non-breaking change which fixes a defect)

πŸ“‹ Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

@mpkorstanje
mpkorstanje force-pushed the fix-step-argument-index branch from 75012dd to d9546fe Compare September 24, 2026 15:52
Cucumber combines arguments from cucumber expressions with arguments
from gherkin steps. The latter should have their index offset by the
number of arguments from the cucumber expression.
@mpkorstanje
mpkorstanje force-pushed the fix-step-argument-index branch from d9546fe to 068cf58 Compare September 24, 2026 15:55
@mpkorstanje
mpkorstanje merged commit 9bb0dfe into main Sep 24, 2026
6 checks passed
@mpkorstanje
mpkorstanje deleted the fix-step-argument-index branch September 24, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom @DocStringType ignored when the step has expression parameters

1 participant