Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-7672

Exported feature files shows Scenario instead of Scenario outline when we use Data Set in the Cucumber Test

    XporterXMLWordPrintable

Details

    • XRAYCLOUD 2024 Sprint 12, XRAYCLOUD 2024 Sprint 13
    • OK

    Description

      Description:

      If there is a Data Set in the Cucumber Test, then, the exported feature file is displayed as a Scenario instead of a Scenario Outline. However, when we manually enter the Examples, the exported feature file shows Scenario Outline. 

      Pre-conditions: N/A

      How to reproduce

      1. Create a Cucumber Test with a Data Set.
      2. Use Xray - Generate Cucumber Feature Files option on the Test issue to export the feature file

      Actual result/Attachments:

      The exported feature file shows "Scenario":

      Feature: Cucmber Test for login page
      	@TEST_JN-28
      	Scenario: Cucmber Test for login page
      		When I log in with "<username>" and "<Password>"
      		Then I am logged in
      		Examples:
      			| username | Password |
      			| Test1    | One123   |
      			| Test2    | two234   | 

      Expected result:

      The feature file is expected to show Scenario Outline instead of Scenario.

      Version

      • Xray Cloud - V4.8.2-1

      Attachments

        Activity

          People

            alex.macias Alex Macias
            jayanthi.murthi Jayanthi Murthi
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: