Skip to content

Missing feature descriptions #23

@badeball

Description

@badeball

👓 What did you see?

With v2, feature descriptions are no longer printed. "Current" behavior, ie. with @cucumber/cucumber@12.1.0, before the revert, ie. with the most recent message-based implementation:

$ cucumber-js

Feature: a feature

  @foo
  Example: an example # features/foo.feature:6
    ✔ Given a step    # features/definitions.js:3

✅ What did you expect to see?

Expect to see foobar, as shown below, using non-message based implementation.

$ cucumber-js
@foo
Feature: a feature # features/foo.feature:2

  foobar

  @foo
  Example: an example # features/foo.feature:6
    Given a step

1 scenario (1 passed)
1 step (1 passed)
0m00.004s (executing steps: 0m00.000s)

📦 Which tool/library version are you using?

node v20.19.4
@cucumber/cucumber v12.1.0

🔬 How could we reproduce it?

Simple repository to run & view everything mentioned above: https://github.com/badeball/reproducible-issues/tree/master/cucumber/pretty-regressions

📚 Any additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions