Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-4991

cucumber: datatables are not fully supported whenever viewing results

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Won't Fix
    • None
    • None
    • Cucumber
    • None
    • UNCOVERED

    Description

      If we have a Cucumber Test or Cucumber Preconditions (i.e., Scenario and Background in Gherkin terminology) with inline datatables, then whenever we import the results to Xray, Xray won't show the inline databled on the execution details page.

       

       

      How to reproduce:

       

      1. create a Cucumber Precondition with this specification

       

                      Given the following organisations exist:
                      |name|
                      |ABC|
                      |DEF|
                      |GHI|
                      And the following persons exist:
                      |username       |organisation|  roles|
                      |User1|    ABC       |GRID_ADMIN|
                      |User2|       DEF| GRID_ADMIN|
                      |User3|       GHI| GRID_ADMIN|

       

       

      2.  create a Cucumber Test with this specification

       

       

                      Given all the above
                      When the system looks for names of of virtual eans
                      Then it sees the following  names per ean:
                      |ean    |name|
                      |111122223333000010|    User1|
                      |111122223333000011|    User2|
                      |111122223333000012|    User3|
                      |999922223333000012|    User4|
                      |111122223333000013|    User5|

       

      3. On the created Test, add the created Precondition

      4. On the created Test, export to cucumber from the menu options

      5. run the cucumber tests with a fake implementation that passes all the steps

      6. import the results back to Xray, using the Cucumber JSON endpoint

      7. see the test run details on the Test Execution that was created

       

       

       

      Attachments

        1. screenshot-2-1.png
          screenshot-2-1.png
          44 kB
        2. screenshot-2.png
          screenshot-2.png
          44 kB
        3. image-2022-06-02-14-39-02-757.png
          image-2022-06-02-14-39-02-757.png
          1.37 MB
        4. cucumber_xray_tests2.zip
          21 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: