Details
-
Improvement
-
Status: Closed
-
Medium
-
Resolution: Fixed
-
3.000.003
-
Live - All Browsers
-
XRAYCLOUD 2022 Sprint 1, XRAYCLOUD 2022 Sprint 2
Description
Short Description: Importing a feature file with a tagged precondition in the Background should not update the summary of the precondition.
Steps to Reproduce:
1 - Create a cucumber test and a cucumber precondition and link them to each other.
2 - Go to the Test issue and export it to cucumber.
3 - Open the file and verify that the precondition is displayed in the Background section and tagged with the precondition key.
4 - Import that same file.
Actual Results: The summary of the existent and tagged precondition is being updated to a default summary "Background for: Test key". We are putting this summary on the issue because we are comparing if the actual summary on the issue is different from the default one, when updating an existent precondition.
Expected Results: We could check if we are updating an existent precondition and leave the summary as it his (unless the user changes it) and if we are creating a new precondition then insert the default summary "Background for: Test key".