Details
-
Bug
-
Status: Waiting Approval
-
Medium
-
Resolution: Unresolved
-
Xray Cloud 17.2.0
-
None
-
None
-
N/A
Description
Context:
- Import a feature file such as the one below:
Feature: Start Background: Test Background 1 Given the URL of the web portal was opened in the desktop browser And the user is logged out Scenario: Test Case 1 When the "Start" page is displayed Then the content of the start page should be displayed correctly - A Test issue and a Precondition issue are created.
- Modify the file as seen below, and then re-import it:
Feature: Start Background: Test Background 1 - Change Given the URL of the web portal was opened in the desktop browser And the user is logged out And the user VU logs in Scenario: Test Case 1 When the "Start" page is displayed Then the content of the start page should be displayed correctly - The Precondition issue will be updated as follows:
- The Summary will be modified to reflect the change
- The Precondition definition will be modified to reflect the change
Steps to reproduce:
- Modify the feature file and tag the Precondition issue with its issue key (as seen below), and import it again:
Feature: Start Background: Test Background 1 - Changed again #@PRECOND_ABC-123 Given the URL of the web portal was opened in the desktop browser And the user is logged out And the user VU logs in And the user is on the start page Scenario: Test Case 1 When the "Start" page is displayed Then the content of the start page should be displayed correctly
Expected result:
- Both the Summary and the Precondition definition should be updated again, as this is the behavior seen in Xray DC
- If there are multiple Precondition issues (as seen below), all should have their Summary and Precondition definition modified (they all should use the same Summary, as this is the behavior seen in Xray DC)
Feature: Start Background: Test Background 1 - Changed again #@PRECOND_ABC-123 Given the URL of the web portal was opened in the desktop browser And the user is logged out #@PRECOND_ABC-456 And the user VU logs in And the user is on the start page Scenario: Test Case 1 When the "Start" page is displayed Then the content of the start page should be displayed correctly
Actual result:
- If the Precondition issue is tagged with its issue key, only the Precondition defintion is modified. The Summary is not being changed.
Attachments
Issue Links
- duplicates
-
XCC-4391 Loading...