ricardozanini commented on code in PR #3225:
URL:
https://github.com/apache/incubator-kie-tools/pull/3225#discussion_r2277218685
##########
packages/sonataflow-management-console-image/test-resources/tests/features/sonataflow-management-console.feature:
##########
@@ -23,13 +17,4 @@ Feature: Serverless Workflow Management Console images
| variable | value
|
| SONATAFLOW_MANAGEMENT_CONSOLE_DATA_INDEX_ENDPOINT |
http://${DOCKER_HOST}:4000/graphql |
Then container log should contain httpd -D FOREGROUND
- Then check that page is served
- | property | value |
- | port | 8080 |
- | path | /graphql |
- | request_method | POST |
- | request_body | { "query": "{ProcessInstances{ id } }" } |
- | content_type | application/json |
- | wait | 480 |
- | expected_status_code | 200 |
- | expected_phrase | "data":{"ProcessInstances |
+ And run curl -X POST -sS -H Content-Type:application/json --data-binary
'{"query":"{ProcessInstances{id}}"}' http://127.0.0.1:8080/graphql in container
and check its output contains "data":{"ProcessInstances"
Review Comment:
Feel free to open a PR when you get the chance :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]