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

When importing JUnit results: if a Test Run has both a failure log and one evidence in the report, Xray only shows the evidence

    XporterXMLWordPrintable

Details

    • UNCOVERED

    Description

      Description

      When importing JUnit results, if a Test Run has both a failure message and one evidence, Xray only shows the evidence.

      How to reproduce

      1. Import this first file result which contains a failure error and an evidence: test-junit-withevidence.xml
      2. Open the Test Run page and verify that only the Evidence is registered
      3. Import this second file with results without evidence but just failure error: test-junit-withoutevidence.xml
      4. Open the Test Run page and verify the Failure log is there.

      Actual result/Attachments

      No failure log if an evidence is present in the XML for the same Test Run.

      Expected result

      Both the Failure log and evidence should be uploaded.

      Version

      • 6.3.2

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          153 kB
        2. screenshot-2.png
          screenshot-2.png
          153 kB
        3. screenshot-3.png
          screenshot-3.png
          58 kB
        4. test-junit-withevidence.xml
          19 kB
        5. test-junit-withoutevidence.xml
          18 kB

        Activity

          People

            dpca Diamantino Campos
            amgt Ana Teixeira
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: