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