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

Calculated Test status is not being shown consistently in different sections, for multiple environments

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • R3.1.5
    • None
    • None
    • OK

    Description

       

      CASE 1

       

      How to reproduce:

      1. set Xray settings, under Test Statuses, final precedence flag to true
      2. create a story A, associate it with v3.0
      3. create a Test X linked with the previous story
      4. from the Test issue screen, create a Test Execution for the Test, for version "v3.0" and assign it to the Test Environments: "Win10", "Windows" . Set the Test Run to "FAIL".
      5. from the Test issue screen, create a Test Execution for the Test, for version "v3.0" and assign it to the Test Environments: "Linux", "RHEL6" . Leave the Test Run in "TODO".
      6. from the Test issue screen, create a Test Execution for the Test, for version "v3.0" and assign it to the Test Environments: "Win7", "Windows" . Set the Test Run to "PASS".
      7. create a Test Plan for version v3.0, add Test X and associate the previous Test Executions

       

      Expected results for the Test status, per environment,  on version v3.0:

        Windows Win7 Win10 Linux RHEL6
      calculated status PASS PASS FAIL TODO TODO
      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

       

      Obtained results:

      1. Story issue screen, within the Test Coverage panel: nok (Test shows as FAIL for Windows environment)
      2. Tests project tab report: ok
      3. Tests List: nok (Test shows as FAIL for Windows environment)
      4. Tests Plan issue screen:  ok

        

      Notes: the calculated requirement status seems to be ok though.

       

       

      CASE 2

       

       

       

      How to reproduce:

      1. set Xray settings, under Test Statuses, final precedence flag to false
      2. create a story A, associate it with v3.0
      3. create a Test X linked with the previous story
      4. 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 "PASS".
      5. 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".
      6. 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 "FAIL".
      7. in the Test issue screen,
        1. change inline the result of Test in TE3 from FAIL to PASS
        2. change inline the result of Test in TE1 from PASS to FAIL
      8. create a Test Plan for version v3.0, add Test X and associate the previous Test Executions

       

      Expected results for the Test status, per environment,  on version v3.0:

        Windows Win7 Win10 Linux RHEL6
      calculated status PASS PASS FAIL TODO TODO
      why? last created Test Run, based on its created date, on Windows environment was "PASS" last executed Test Run, based on its created date, on Win7 environment was "PASS" last created Test Run, based on its created 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

       

      Obtained results:

      1. Story issue screen, within the Test Coverage panel: nok (Test shows as FAIL for Windows environment)
      2. Tests project tab report: ok
      3. Tests List: nok (Test shows as FAIL for Windows environment)
      4. Tests Plan issue screen:  ok
         

       

       

      Notes: the calculated requirement status seems to be ok though.

       

       

      Attachments

        Issue Links

          Activity

            People

              pmmr Pedro Rodrigues
              smsf Sergio Freire
              Votes:
              1 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 - 5 hours, 35 minutes
                  5h 35m