I'm using this endpoint /rest/raven/1.0/import/feature?projectKey={{projectKey}} to create and update cucumber test cases, following the documentation here https://docs.getxray.app/display/XRAY/Importing+Cucumber+Tests+-+REST
In our project we have a combination of manual and cucumber tests, often a manual test and cucumber test will test the same functionality so they will have the same name. An issue we're seeing is if a manual test is created and we attempt to upload a new cucumber test case via the api with the same name, the manual test is being overwritten with the details of the cucumber test. Our cucumber test cases are identified using the @[deleted] tag, not the test case id.
The logic of selecting which test case to update in this api is documented as follows:
I believe that we should be hitting option 5 to create a new test case but the api seems to be identifying a manual test with the same summary, can anyone provide insight into this? is it a bug?