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

When importing JUnit XML execution results from More > Import Execution Results option, Xray will search for similar Test definitions instead of searching for the exact definition

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • R3.0.3
    • R3.1.4
    • Core
    • OK

    Description

      This issue occurs when importing JUnit execution resutls from the Test Execution page by clicking More > Import Execution Results

      How to reproduce:

      Step Expected Result Actual Result
      create a Test Execution - -
      import execution results using TestResult _1 test.xml a new Test is created and associated to the Test Execution a new Test is created and associated to the Test Execution
      import execution results using TestResult _1 test other name.xml a new Test is created and associated to the Test Execution Xray used the previously created Test because it has a similar test definition and assumed it was the same

      Instead of using the jql "~" behaviour, xray must adopt the "=" behaviour when searching for Tests to import execution results.

      for evidence see video in issue attachements.

      EDIT: this problem also occurs using the rest api

      Attachments

        1. TestResult _1 test.xml
          0.5 kB
          Xavier Fernandes
        2. TestResult _1 test other name.xml
          0.5 kB
          Xavier Fernandes
        3. XRAYSUPPORT-3551.mp4
          13.90 MB
          Xavier Fernandes

        Activity

          People

            pmmr Pedro Rodrigues
            xcfe Xavier Fernandes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 45 minutes
                4h 45m