[API] Add a parameter to the GET Test Runs API to retrieve the configuration values of a run.
Enyindah Okwakpam
When fetching a run’s information, it’s important to understand what devices, OS it ran on. Currently, the GET Test runs endpoint doesn’t provide this information.
Endpoints:
Get all test runs: https://api.qase.io/v1/run/{code}
Get specific test run: https://api.qase.io/v1/run/{code}
It only allows cases and defects to be fetched in addition to the test run itself.
Manjunatha Reddy
Merged in a post:
Automated Test runs should support configurations or custom fields.
Carl Dunkelberger
Request: The automated test run UI should show custom fields and configurations
Story/Problem: We have to create a new jenkins pipeline for every automated test run type.
Manual test runs currently support configurations and custom fields. When switching to an automated run, these options disappear in the ui. The API returns custom fields and tags, so the UI should enable this.
{
"status": true,
"result": {
"id": 236,
"title": "Test run 2024/08/08",
"description": null,
"status": 1,
"status_text": "passed",
"start_time": "2024-08-08T16:50:12+00:00",
"end_time": null,
"public": false,
"stats": {
"total": 0,
"statuses": {},
"untested": 0,
"passed": 0,
"failed": 0,
"blocked": 0,
"skipped": 0,
"retest": 0,
"in_progress": 0,
"invalid": 0
},
"time_spent": 0,
"user_id": 8,
"environment": null,
"milestone": null,
"custom_fields": [],
"tags": []
}
}
Eiichi Kitagawa
If we get to use config for different platforms, it would help us distinguish different runs for different platforms. With custom field, (re)runs would look like a series of reruns with slightly different custom field, and I will have to write a messy query to check something like "which of the supported platforms did/did not pass as of now?". Alternatives like testrail offers configs in addition to custom fields, and that help us track runs with different configs.
Carl Dunkelberger
Could the test run api include the configured configurations as well?
Jim Carroll
This would be a great alternative to my FR! Have an upvote :-)