Details
-
Bug
-
Status: Waiting Approval
-
Medium
-
Resolution: Unresolved
-
Xray Cloud 6.12.2
-
None
-
None
-
N/A
Description
When a Gherkin feature file is imported into Xray and later updated with additional scenarios, re-importing the same feature file does not create new Test issues for the newly added scenarios.
Steps to reproduce:
- Import the feature file below through the following endpoint:
POST https://xray.cloud.getxray.app/api/v2/import/feature?projectKey=ABCFeature: Core Test verify Scenarios for app @id:1 Scenario: App test Given that the app device binding is successful When app device verify request is made Then received a successful response
- After that, edit the feature file and add another scenario:
Feature: Core Test verify Scenarios for app @id:1 Scenario: App test Given that the app device binding is successful When app device verify request is made Then received a successful response @id:2 Scenario: App test 2 Given that the app device binding is successful When app device verify request is made Then received a successful response
- Import the feature file again.
Expected result:
A new Cucumber Test should be created for the newly added scenario.
Actual result:
Once the file is imported for the first time, adding new scenarios and re-importing the file won't create new Tests.