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

    • Xray 2024 S11, Xray 2025 S1
    • OK

    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
        2. screenshot-2.png
          screenshot-2.png
          80 kB
        3. screenshot-3.png
          screenshot-3.png
          80 kB

        Activity

          People

            masg Marco Guedes
            jayanthi.murthi Jayanthi Murthi
            Marco Guedes
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 4 hours, 28 minutes
                1w 4h 28m