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

Test Coverage is updated with Tests incorrectly

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Done
    • 4.2.9
    • 4.2.14
    • Links, Requirement Status
    • None
    • XRAY 2021 Sprint 8
    • NOK

    Description

      Test Coverage is updated with Tests incorrectly

      Description
      A Requirement gets Tests added to the Test Coverage incorrectly, once there is not "is tested by" link with any Test.

      Pre-conditions

      • Story mapped as Requirement;
      • Defect mapped only as Defect (not a requirement)
      • Have the option "Epic - Story relation as a Requirement" enabled with a link type associated
      • Enable both options: Link Defects with Test and Link Defects with Test Execution

      How to reproduce

      1. Create a new Test
      2. Run that Test by creating a new Test Execution
      3. Create a Bug directly on the Execution page (a link "created" should be added for the Bug to Test and Test Execution)
      4. Create a new Story
      5. Link the Story to the Bug by using the link type defined at the Requirement Coverage Settings

      Actual result/Attachments
      The link between the Story and the Bug is created.
      The Story gets the Test, although this is not added or even the link "tested by" was created.
      The Story stays Uncovered but with Tests on the Test Coverage Section.


      Expected result
      The link between the Story and the Bug is created.
      The Story stays Uncovered and without any Tests on the Test Coverage Section.

      Version
      Xray 4.2.9

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          19 kB
        2. screenshot-2.png
          screenshot-2.png
          32 kB
        3. screenshot-3.png
          screenshot-3.png
          41 kB
        4. screenshot-4.png
          screenshot-4.png
          52 kB
        5. screenshot-5.png
          screenshot-5.png
          66 kB
        6. screenshot-6.png
          screenshot-6.png
          62 kB
        7. image-2021-03-02-17-57-57-708.png
          image-2021-03-02-17-57-57-708.png
          51 kB
        8. image-2021-03-02-17-58-15-130.png
          image-2021-03-02-17-58-15-130.png
          70 kB

        Activity

          People

            gbml Goncalo Lima
            actl Ana Leite [X] (Inactive)
            Goncalo Lima
            Votes:
            3 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 - 1 day, 5 hours, 20 minutes
                1d 5h 20m