Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
How to reproduce:
- set Xray settings, under Test Statuses, final precedence flag to false
- create a story A, associate it with v3.0
- create a Test X linked with the previous story
- from the Test issue screen, create a Test Execution TE1 for the Test, for version "v3.0" and assign it to the Test Environments: "Win10", "Windows" . Set the Test Run to "FAIL".
- from the Test issue screen, create a Test Execution TE2 for the Test, for version "v3.0" and assign it to the Test Environments: "Linux", "RHEL6" . Leave the Test Run in "TODO".
- from the Test issue screen, create a Test Execution TE3 for the Test, for version "v3.0" and assign it to the Test Environments: "Win7", "Windows" . Set the Test Run to "PASS".
- create a Test Plan for version v3.0, add Test X and associate the previous Test Executions
- change the status of Test in TE3 to FAIL
- change the status of Test in TE1 to PASS
- check requirement issue screen, analyzing version v3.0 within the Test Coverage section
- set Xray settings, under Test Statuses, final precedence flag to true
- check requirement issue screen, analyzing version v3.0 within the Test Coverage section**
Obtained results:
Expected results for the Test status, per environment, on version v3.0:
| Windows | Win7 | Win10 | Linux | RHEL6 | |
|---|---|---|---|---|---|
| calculated TEST status | PASS | PASS | FAIL | TODO | TODO |
| calculated requirement status | OK | OK | NOK | NOTRUN | NOTRUN |
| why? | last executed Test Run, based on its start date, on Windows environment was "PASS" | last executed Test Run, based on its start date, on Win7 environment was "PASS" | last executed Test Run, based on its start date, on Win10 environment was "FAIL" | last (and only) Test Run for Linux environment is on TODO | last (and only) Test Run for Linux environment is on TODO |
After resetting the custom field "Requirement Status" on the story issue screen, the value of the calculated coverage for the requirement seems to be ok.
Attachments
Issue Links
- clones
-
XRAY-2990 Calculated Test status is not being shown consistently in different sections, for multiple environments
-
- Closed
-