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

Test Run timer continues running after importing automated test results via API when the Test Run status was previously set to EXECUTING.

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Waiting Approval
    • Medium
    • Resolution: Unresolved
    • Xray Cloud 16.32.0
    • None
    • None
    • Chrome

    • UNCOVERED

    Description

      Description

      When automated test results are imported into an existing Test Execution using the Xray Cloud REST API, the Test Run status changes to PASSED or FAILED, but the timer continues running.

      This issue occurs with both JUnit XML and Cucumber JSON imports.

      Pre-conditions

      • An existing Test Execution with Test Runs.
      • Test Run status is set to EXECUTING using the API or UI.
      • Completed automated test results are available for import.

      How to reproduce

      1. Create a Test Execution with Tests.
      1. Set a Test Run status to EXECUTING using the API or UI.
      1. Verify that the Test Run timer starts.
      1. Import completed JUnit XML or Cucumber JSON results into the existing Test Execution using the Xray Cloud REST API.
      1. Verify that the Test Run status changes to Executing or PASSED.
      1. Check the Test Run timer.

      Actual result/Attachments

      • The Test Run status is correctly updated to PASSED.

      Expected result

      • The Test Run timer should stop when completed automated test results are imported with the final Test Run status.

      Version

      • Xray Cloud 16.32.0

      Workaround

      Do not change the Test Run Status to Executing before Importing the results.

      Attachments

        Issue Links

          Activity

            People

              bernardo.cottim Bernardo Cottim
              sandeep.gurram Sandeep Gurram
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: