Details
-
Bug
-
Status: Waiting Approval
-
Medium
-
Resolution: Unresolved
-
Xray Cloud 17.0.0
-
None
-
None
-
Cloud
Description
Description
When querying getTestExecutions { getTestRuns() {} } after creating a Test Execution through the UI, the GraphQL should return an empty results list instead of a total count with "null" results until the Test Run data is available.
Steps to Reproduce
- Create a Test Plan with multiple Tests.
- Create a Test Execution under the Test Plan.
- Add Tests to the Test Execution through the Xray UI.
- Trigger the GraphQL query getTestExecutions { getTestRuns() {} } using Jira Automation.
- Observe that the API sometimes returns null for Test Runs with Test Run count.
- Observe total count and the results for Test Runs are returned.
Actual Result
The GraphQL returns total Test Run count with results as "null".
"testRuns": { "total": 11, "start": 0, "limit": 50, "results": [null, null, null, null, null, null, null, null, null, null, null]
Expected Results
The GraphQL should return a consistent response while the Test Run data is being created.
Instead of returning a total count with null results, the API should return an empty results list until the Test Run data is available.
Attachments
Issue Links
- duplicates
-
XCC-4221 Loading...