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

Importing a feature file with a tagged pre-condition in the Background should not update the summary of the pre-condition

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 6.2.3
    • None
    • Cucumber, REST API
    • None
    • UNCOVERED

    Description

      Short Description:

      Importing a feature file with a tagged pre-condition in the Background should not update the summary of the pre-condition.

      Steps to Reproduce:

      1 - Create a cucumber test and a cucumber pre-condition 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 pre-condition 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 pre-condition 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 is (unless the user changes it) and if we are creating a new pre-condition, then insert the default summary "Background for: Test key".

      Attachments

        Activity

          People

            helder.ferreira Helder Ferreira
            amgt Ana Teixeira
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: