You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the JSON response does not match the expectations in the step And the JSON data of the response should match
we get cryptic reports like this:
Const failed at #->properties:value->items[0]:0->properties:template->properties:message (Swaggest\JsonSchema\Exception\ConstException)
No valid results for oneOf {
0: Const failed at #->properties:value->items[2]:2->oneOf[0]->properties:template->properties:variables->properties:resource->properties:name
1: Const failed at #->properties:value->items[2]:2->oneOf[1]->properties:template->properties:message
2: "48739722-626b-46f7-997e-38d9f276b023$125b5f26-cb4d-42ed-b3c3-a02509ba546e!125b5f26-cb4d-42ed-b3c3-a02509ba546e" does not match to ^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}![0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$ at #->properties:value->items[2]:2->oneOf[2]->properties:template->properties:variables->properties:space->properties:id
3: Const failed at #->properties:value->items[2]:2->oneOf[3]->properties:template->properties:message
4: Const failed at #->properties:value->items[2]:2->oneOf[4]->properties:template->properties:message
} at #->properties:value->items[2]:2 (Swaggest\JsonSchema\Exception\LogicException)
at the very lease we should report what the response was and maybe give the developers a better hint about what went wrong
The text was updated successfully, but these errors were encountered:
If the JSON response does not match the expectations in the step
And the JSON data of the response should match
we get cryptic reports like this:
at the very lease we should report what the response was and maybe give the developers a better hint about what went wrong
The text was updated successfully, but these errors were encountered: