We use Xray for automated testing with rather long test suites. Consider this scenario:
- CI pipeline starts a long test plan
- I remove a test from this test plan in xray
- Then the pipeline finishes and uploads the execution results via v2 api import/execution/cucumber/multipart
When the results are uploaded, the removed test is added back to the test plan since it was included in the feature file download in the first place.
How can I remove tests from a test plan without worrying about active testruns?
What you describe is the way Xray works.
Since the feature file has a reference to the Test Plan, the result will be added to the Test Plan.
Not sure why you want to remove the Tests from the Test Plan; however, to be able to view Test results inside a Test Plan, you need to have the Tests associated with the Test Plan.
If you remote a Test from a Test Plan, you can no longer see the results for that Test inside the Test Plan.
Any additional questions, please get in touch with Xray Support (http://xraysupport.getxray.app); we would gladly assist you.
Thank you.
Kind regards,
Rogério Paiva [Xray Support Team]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.