Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-3385

As system, Cucumber step's multiline arguments must be ignored whenever added to the Automated Steps Library

    XporterXMLWordPrintable

Details

    • Suggestion
    • Status: New
    • Resolution: Unresolved
    • None
    • None
    • BDD Step Library
    • None
    • UNCOVERED

    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:

      Attachments

        Issue Links

          Activity

            People

              helder.ferreira Helder Ferreira
              smsf Sergio Freire
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: