Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
voleksa opened this issue Aug 21, 2024 · 1 comment
Open
Assignees
Labels

Comments

@voleksa
Copy link

voleksa commented Aug 21, 2024

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 reportportal/agent-java-cucumber6#20

@grey-rain
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants