Invictum / serenity-reportportal-integration

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

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

Open voleksa opened 3 weeks ago

voleksa commented 3 weeks ago

Cucumber supports dynamic parameters in the scenario name

Scenario Outline: Test scenario with dynamic names <action>
    Given I open the app
    When I do something <action>
    Then I assert that <action> is <assert>

    Examples:
      | action | assert |
      | test   | true   |
      | sleep  | false  |
      | eat    | true   |

But in the RP such parameters in the scenario name will not be replaced with actual values image There was a similar issue in the cucumber agent https://github.com/reportportal/agent-java-cucumber6/issues/20

grey-rain commented 1 week ago

It appeared to be native Serenity behaviour, so current request is a "feature request", not a bug.

Screenshot 2024-08-30 at 08 36 17

Requested feature might be implemented in reworked Serenity integration (so called "v.2.0"). Implementation should allow to take both paths - old one (native) and customised.