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
Expected behavior
Given an openapi endpoint
And the response of the endpoint has the required fields: "category", "name", "status"
And the response of the endpoint has the optional fields: "id", "photoUrls", "tags"
When a valid request is executed
And the following json body is returned:
{
"category": {},
"name": "",
"status": "sold"
}
Then the test should pass green
Actual behavior
The Test always fails with Number of entries is not equal in element: '$', expected '[photoUrls, name, id, category, tags, status]' but was '[name, category, status]'
cleanup
remove bug related todos
created issues for that:
- citrusframework#1190
- citrusframework#1189
update TODOs
refactor
disable deprecated tests
feature: put new openapi actions to mustache (WIP)
feature: improve receive action
feature: cleanup OpenApiClientRequestActionBuilder
feature: send typed fluent openapi builder works
feature: first fluent java implementation (wip)
chore: add todo-readme
chore: improve OpenApi example
chore: cleanup generator tests
chore: add license to new files
chore: remove author annotations
feat(citrusframework#1156): provide test api generator
Citrus Version
4.2.1
Expected behavior
Given an openapi endpoint
And the response of the endpoint has the required fields: "category", "name", "status"
And the response of the endpoint has the optional fields: "id", "photoUrls", "tags"
When a valid request is executed
And the following json body is returned:
{
"category": {},
"name": "",
"status": "sold"
}
Then the test should pass green
Actual behavior
The Test always fails with
Number of entries is not equal in element: '$', expected '[photoUrls, name, id, category, tags, status]' but was '[name, category, status]'
Test case sample
The text was updated successfully, but these errors were encountered: