Hi,
I am looking for assertion where test should fail, if one of businessConditionStatus is false.
This is how response looks like.
{
"response": {
"entities": [
{
"id": "d8410b29b305",
"type": "SKU",
"data": {
"attributes": {
"businessConditions": {
"group": [
{
"businessConditionName": {
"values": [
{
"value": "ConditionA"
}
]
},
"businessConditionStatus": {
"values": [
{
"value": true
}
]
}
},
{
"businessConditionName": {
"values": [
{
"value": "ConditionB"
}
]
},
"businessConditionStatus": {
"values": [
{
"value": false
}
]
}
}
]
}
}
}
}
]
}
}