Skip to content

Attachments from before&after hooks are no longer shown #378

Closed
@Kouzukii

Description

@Kouzukii

👓 What did you see?

We use attachments to add video and trace information in an after() hook.
I have verified that the window.CUCUMBER_MESSAGES block is the same between cucumber-jvm 7.21.1 and 7.22.0
My only explanation is that the latest react-components have tied attachments to testStepId which don't resolve for before() and after() hooks

Image

✅ What did you expect to see?

The same test run with cucumber-jvm 7.21.1

Image

📦 Which tool/library version are you using?

java 21
cucumber-jvm 7.22.0

🔬 How could we reproduce it?

class Setup {
  @Before
  fun before(scenario: Scenario) {
    scenario.log("TEST!")
  }
}

📚 Any additional context?

No response

Metadata

Metadata

Assignees

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