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

When importing feature files, we are removing the escape bars present

    XporterXMLWordPrintable

Details

    • XRAYCLOUD 2022 Sprint 13, XRAYCLOUD 2022 Sprint 14

    Description

      Description

      When importing feature files, we are removing the escape bars present

      How to reproduce

      1. Create a feature file with the scenario above:
        Scenario Outline: Test scenario
        		When a user invokes the endpoint with body: <body>
        		Then a user error is returned with message: <message>
        		
        			Examples:
        				| body            | message                                                               |
        				| {"role": "foo"} | Invalid enum value. Expected 'bar' \| 'test' \| 'abc', received 'foo' |
        
      1. Import the feature file via REST API
      2. Check the scenario

      Actual result/Attachments

      Xray considers the scenario is wrong because we eliminate the backslashes.

      Expected result

      Xray should not eliminate these characters. Note, the export to feature file works as expected.

      Environment

      • <environments>

      Attachments

        Activity

          People

            apsp Ana Patricio
            amgt Ana Teixeira
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: