Details
-
Suggestion
-
Status: New
-
Resolution: Unresolved
-
None
-
None
-
None
Description
As system, Cucumber step's placeholders for variables (common in Scenario Outlines) including its text (i.e. <whatever>) must be ignored whenever added to the Automated Steps Library.
Thus,
Given I have entered <input_1> and <input_2> into the calculator \{noformat} should be stored as the following step in the library:
Given I have entered <> and <> into the calculator{noformat}
Note: a step may contain one or more inline parameters
ACs:
* step must be persisted in the library without the values of the placeholders
* whenever editing the stripped step within the library, it must update the corresponding Tests no matter what values they may be using for the parameters
References:
* [https://docs.cucumber.io/gherkin/reference/|https://docs.cucumber.io/gherkin/reference/#step-arguments]
* projects with .features that can be used to validate this: [https://docs.cucumber.io/community/projects-using-cucumber/]
Attachments
Issue Links
- relates to
-
XRAY-3381 As system, Cucumber step's inline parameters must be ignored whenever added to the Automated Steps Library
- New