Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-6209

Merge option removes Evidences, comment and results under Test Run after we alter Dataset

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.005.001-1
    • Xray Cloud - 4.005.001
    • Dataset
    • None
    • XRAYCLOUD 2024 Sprint 4
    • NOTRUN

    Description

      Description: Merge option resetting the Test Execution after we add Dataset in Execution Details page

      Pre-conditions: NA

      How to reproduce

      1. Add a Test Execution to a Test.
      2. Go to the Test Execution Details page.
      3.  Add a Dataset or delete it or make any changes to the existing one and save it.
      4. OR edit the Test Steps.
      5. Select the Merge option.
      6. Execution Evidence gets removed.

      Actual result/Attachments: Screenshot attached.

      Expected result: Evidence should remain after the merge.

      ---------------------------------

      Update (06/07/2023):

      This will not only affect Evidences.

      It will also reset the Test Steps and Iterations Details whenever the dataset is updated. 

      How to reproduce:
      **

      1. create test with 2 steps and 2 rows in a dataset
      2. add manually the test to an existing test run
        1. Press button “Test Runs” on the test ticket
        2. Select “Execute In” > Existing test execution
        3. Choose existing test execution
        4. Set “Activate immediately”
      3. update status and add comment to the 4 test steps (2 iterations were created with 2 steps each)
      4. update test definition by adding a new row to the dataset
      5. refresh test run page, a popup appears : “Test definition has been modified - You can reset the execution of this test by pressing the Reset button. This will load the new test definition and delete the current execution data. If you wish to update the Test definition and maintain the current execution, you can click on the Merge button”
      6. Press the “Merge” button
      7. Observe that the status of the 4 steps (on the 2 iterations) and the comments have disappeared.

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          38 kB
        2. screenshot-2.png
          screenshot-2.png
          65 kB
        3. screenshot-3.png
          screenshot-3.png
          43 kB

        Issue Links

          Activity

            People

              amgt Ana Teixeira
              jovish.sharma Jovish Sharma
              Votes:
              12 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: