Details
-
Suggestion
-
Status: New
-
Resolution: Unresolved
-
None
-
None
-
None
Description
As system, Cucumber step's arguments (doc string and data tables) must be ignored whenever added to the Automated Steps Library.
Thus, the following steps:
Given a blog post named "Random" with Markdown body """ Some Title, Eh? =============== Here is the first paragraph of my blog post. Lorem ipsum dolor sit amet, consectetur adipiscing elit. """ Given the following users exist: | name | email | twitter | | Aslak | aslak@cucumber.io | @aslak_hellesoy | | Julien | julien@cucumber.io | @jbpros | | Matt | matt@cucumber.io | @mattwynne |
should be respectively stored as the following steps in the library:
Given a blog post named "" with Markdown body """ """ Given the following users exist: | name | email | twitter |
ACs:
- step must be persisted in the library without the values of the multiline arguments (no matter if they're specified as a data table or as a doc string)
- whenever editing the stripped step within the library, it must update the corresponding Tests no matter what values they may be using for the multiline arguments (i.e. the arguments should not be changed in the destination Tests/Preconditions)
- inline parameters shall also be discarded as consequence of XRAY-3381
References:
- https://docs.cucumber.io/gherkin/reference/
- 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