Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,13 @@ Scenario Outline: Get payload by Id returns 404
And I have a payload saved in mongo Payload_Partial_Patient
When I send a GET request
Then I will get a 404 response
And I will recieve the error message Failed to find payload with payload id: c5c3636b-81dd-44a9-8c4b-71adec7d47c3


@GetPayloadById
Scenario Outline: Get payload by Id returns 400
Given I have an endpoint /payload/hagaaaa
And I have a payload saved in mongo Payload_Full_Patient
When I send a GET request
Then I will get a 400 response
And I will recieve the error message Failed to validate id, not a valid guid
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Scenario Outline: Get details of a Task with invalid payload
And I have a Workflow Instance WorkflowInstance_TaskApi_1 with no artifacts
When I send a GET request
Then I will get a 400 response
And I will recieve the error message Failed to validate ids, not a valid guid
Examples:
| taskRequest |
| Invalid_WorkflowID_Task_Details_1 |
Expand All @@ -50,6 +51,7 @@ Scenario Outline: Get details of a Task with non-existent id payload
And I have a Workflow Instance WorkflowInstance_TaskApi_1 with no artifacts
When I send a GET request
Then I will get a 404 response
And I will recieve the error message Failed to validate ids, workflow or task not found
Examples:
| taskRequest |
| Non_Existent_WorkflowID_Task_Details_1 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ Scenario: Get all workflows instances by Id. Id Not Found
And I have a Workflow Instance WFI_Static_1 with no artifacts
When I send a GET request
Then I will get a 404 response
And I will recieve the error message Failed to find workflow instance with Id: bff4cfd0-3af3-4e2b-9f3c-de2a6f2b9575

@GetWorkflowInstances
Scenario: Get all workflows instances by Id. Id Bad Request
Expand Down