Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Xray DC 7.13.0
-
None
-
DC
Description
Description
When a Test Run has only one iteration, the REST API does not work to set a status to a particular Test step.
How to reproduce
- Create a Test and add a dataset with only one iteration
- Execute this Test - Check that there is only one single iteration in the Test Run page.
- Use the API /rest/raven/2.0/api/testrun?testExecIssueKey=TEST-5&testIssueKey=TEST-2 and get the JSON. No information about the iteration is presented.
- Use the API to get some particular step /rest/raven/2.0/api/testrun/2/step/2 - This is working now due to the fix of
XRAY-10742. - Use the API to set a particular status to a step /rest/raven/2.0/api/testrun/2/step/2/status?status=TODO
- An error is thrown:
Actual result/Attachments
The API to get a particular Test Step cannot be directly used when having only one iteration.
Cannot perform this operation because the Test Run has iterations. Please use another endpoint for it.
Expected result
Since a single iteration is considered a normal run, it should be possible to set the status of a particular Test Step via Test Step API.
Version
- 7.13.0
Attachments
Issue Links
- mentioned in
-
Page Loading...