Invictum / serenity-reportportal-integration

Serenity TAF integration with Report Portal
Apache License 2.0
20 stars 19 forks source link

#187: Scenario outlines do not support dynamic parameters in the scenario name #188

Closed grey-rain closed 1 month ago

grey-rain commented 1 month ago

Issue

Scenario Outlines do not take parameters passed into account when build names.

Solution

Implemented util to build final name on integration side. TestOutcome class does not contain desired data in the way we'd like.

Screenshot 2024-08-26 at 20 19 45
Invictum commented 1 month ago

Before fixing it I would like to see how such cases are represented in native native Serenity report. I assume it could be done intentionally to keep names consistent and distinct data driven tests by parameters.

grey-rain commented 1 month ago

@Invictum you're right, it appeared to be native Serenity behaviour.

Screenshot 2024-08-30 at 08 36 17

I'll close current pull request for now and add this info to the original ticket. We'll decide what to do next in there.