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

Comments and blank lines added in the middle of scenarios/backgrounds are ignored when importing feature files

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Xray DC - v7.8.2
    • Continuous Delivery
    • Cucumber
    • None
    • Live - All Browsers

    • Xray 2024 S11
    • UNCOVERED

    Description

      Description:

      Cannot import comments and blank lines added in the middle of scenarios/backgrounds when importing feature files.

      How to reproduce

      1. Create a cucumber test and a cucumber precondition linked to each other with comments and blank lines in the middle of the gherkin steps (see attach).Go to the Test issue and export it to Cucumber.
      2. Verify the file: it contains the comments and the blank lines.
      3. Now, import the same file via REST API.
      4. Actual result/Attachments

      Actual Results: it ignores the comments and blank lines, updating the issues.


      Expected Results: it should not ignore the comments and blank lines. They should be imported.

      Version:

      • V 7.8.2

      Attachments

        1. 1_ET-18494.feature
          0.5 kB
          Jayanthi Murthi
        2. screenshot-2.png
          80 kB
          Jayanthi Murthi
        3. screenshot-3.png
          80 kB
          Jayanthi Murthi

        Activity

          People

            dpca Diamantino Campos
            jayanthi.murthi Jayanthi Murthi
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: