I have created custom field Browser on Run level through UI as required, now I am trying to upload browser through API as following:
{
“data”: {
“type”: “runs”,
“attributes”: {
“instance-id”: instanceID,
“exit-code”: 0,
“custom-fields”: {
“Browser”: “Chrome”
}
},
“steps”: {
“data”: [
{
“name”: “Step One”,
“expected-results”: “result111”,
“actual-results”: “actualno”,
“status”: “FAILED”
}
]
}
}
}
My response:
{
“errors”: [
{
“status”: 422,
“title”: “could not save the test results [“Custom field Browser should not be empty”]”
}
]
}
I am following example on practitest documentation, seems like my request is still incorrect, please advice how to fix it.
Thank you!