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

Document Generator will result in an error if exporting a Test from a Test Set that contains Cucumber Scenario and Test Run Status.

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Xray DC V7.6.2, Xray DC - V7.8.1
    • Continuous Delivery
    • Document Generator
    • None
    • JIRA

    • Xray 2025 S3
    • UNCOVERED

    Description

      Description

      Document Generator will result in an error if exporting a Test from a Test Set that contains Cucumber Scenario and Test Run Status. 

       

      This will happen only if the template contains mappings from both Cucumber Scenario and Test Run Status and at least one of the Tests exported have something in the Cucumber Scenario Field.

      If any of this Mappings (Test Run or Cucumber Scenario) is exported independently, they will be exported without a problem regardless of their value.

      Pre-conditions

      How to reproduce

      1. Create a Test Set.
      2. Create a Cucumber Test with something in the Cucumber Scenario Field.
      3. Optional: Another Cucumber Test without a value in the Cucumber Scenario Field can be created and used to test the report. 
      4. Create a Test Execution for the Cucumber Test.
      5. Add The Cucumber Test within the Test Set.
      6. Export the Testing Template (attached above) from the Test Set.

      Actual result/Attachments

       

      If a Test with Cucumber Scenario is exported, the report will break with an error in the screen:

      If no cucumber scenario is present in the Test, the report will generate exporting all the information:

      Expected result

      The report will be generated correctly with all the mappings inside regardless of the Cucumber Scenario or Test Run values.

       

       

      Version

      • 7.8.2-j9 
      • 7.6.2-j9 

       

      Workaround

      Remove either the Test Run Status Mapping or the Cucumber Scenario Mapping sections, and the report will be generated correctly.

      Attachments

        Issue Links

          Activity

            People

              dpca Diamantino Campos
              victor.sanchez Victor Puente Sanchez
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: