Xray: removed test is added to test plan when uploading execution results

andre.gans@dominolaser.com October 13, 2021

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?

1 answer

0 votes
Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2021

Hi andre.gans@dominolaser.com 

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]

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events