diff --git a/tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Features/PayloadApi.feature b/tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Features/PayloadApi.feature index 56fc5774a..790cd0fbd 100644 --- a/tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Features/PayloadApi.feature +++ b/tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Features/PayloadApi.feature @@ -96,6 +96,8 @@ 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 @@ -103,3 +105,4 @@ Scenario Outline: Get payload by Id returns 400 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 diff --git a/tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Features/TasksApi.feature b/tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Features/TasksApi.feature index e7f6db501..84997d921 100644 --- a/tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Features/TasksApi.feature +++ b/tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Features/TasksApi.feature @@ -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 | @@ -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 | diff --git a/tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Features/WorkflowInstancesApi.feature b/tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Features/WorkflowInstancesApi.feature index e9287b39e..66fc164a0 100644 --- a/tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Features/WorkflowInstancesApi.feature +++ b/tests/IntegrationTests/WorkflowExecutor.IntegrationTests/Features/WorkflowInstancesApi.feature @@ -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