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

TestRunStatus is not considering latest created Test Run for non-final statuses

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 5.0.5
    • Core
    • None
    • XRAY 2021 Sprint 16
    • NOK

    Description

      Instead of considering the latest created Test Run for non-final statuses, Xray is considering the last execution.

      For example if there are some executions under a Test with non final-statuses and I change the status of an older one, Xray will use this execution instead of the latest.

      How to reproduce

      Step Data Expected TestRunStatus
      Create a Test and add it to TP1 -  
      Create a Test Execution for TP1 Summary: TE1  
      Initialise Test Run from TE1 (just by going to the execution page)  -  
      Create a Test Execution for TP1 Summary: TE2  
      Initialise Test Run from TE2 (just by going to the execution page) -  
      Execute TE1 EXECUTING TODO

      Note: the previous example was by using a Test Plan but the same occurs on the Test Run Status field in the Test Page

      Attachments

        Activity

          People

            nmms Nuno Santos
            xcfe Xavier Fernandes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours, 50 minutes
                1d 2h 50m