diff --git a/features/backend/application_cases/case_actions/basic_sequence_cases_actions.feature b/features/backend/application_cases/case_actions/basic_sequence_cases_actions.feature index c9a5f36b2..a93042222 100644 --- a/features/backend/application_cases/case_actions/basic_sequence_cases_actions.feature +++ b/features/backend/application_cases/case_actions/basic_sequence_cases_actions.feature @@ -1,33 +1,68 @@ @ProcessMakerMichelangelo @RestAPI -Feature: Cases Actions - the features in this script are (getCaseInfo, taskCase, newCase, newCaseImpersonate, reassignCase and routeCase) +Feature: Cases Actions - the features in this script are (getCaseInfo, taskCase, newCase, newCaseImpersonate, reassignCase, routeCase, cancelCase, pauseCase, unpauseCase, executeTrigger, DELETE Case) Requirements: - a workspace with five cases of the process "Test micheangelo" and "Test Users-Step-Properties End Point" + a workspace with 57 cases distributed in the processes "Derivation rules - evaluation", "Derivation rules - Parallel", "Derivation rules - parallel evaluation", "Derivation rules - selection", "Derivation rules - sequential" Background: Given that I have a valid access_token -Scenario: Returns information about a given case of the list Inbox - Given I request "cases/48177942153275bfa28bd04070312685" +#Listado de casos +Scenario: Returns a list of the cases for the logged in user (Inbox) + Given I request "cases" Then the response status code should be 200 And the response charset is "UTF-8" And the type is "array" - And the "app_uid" property equals "48177942153275bfa28bd04070312685" - And the "app_number" property equals 16 - And the "app_name" property equals "#16" - And the "app_status" property equals "TO_DO" - And the "app_init_usr_uid" property equals "00000000000000000000000000000001" - And the "app_init_usr_username" property equals "Administrator" - And the "pro_uid" property equals "99209594750ec27ea338927000421575" - And the "pro_name" property equals "Derivation rules - sequential" - And the "app_create_date" property equals "2014-03-17 16:32:58" - And the "app_update_date" property equals "2014-03-17 16:33:01" - + And the response has 14 records -Scenario: Returns the current task for a given case of the list Inbox - Given I request "cases/48177942153275bfa28bd04070312685/current-task" + +Scenario: Returns a list of the cases for the logged in user (Draft) + Given I request "cases/draft" Then the response status code should be 200 And the response charset is "UTF-8" And the type is "array" + And the response has 15 records + + +Scenario: Returns a list of the cases for the logged in user (Participated) + Given I request "cases/participated" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "array" + And the response has 30 records + + +Scenario: Returns a list of the cases for the logged in user (Unassigned) + Given I request "cases/unassigned" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "array" + And the response has 12 records + + +Scenario: Returns a list of the cases for the logged in user (Paused) + Given I request "cases/paused" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "array" + And the response has 12 records + + +Scenario: Returns information about a given case of the list Inbox of process "Derivation rules - Parallel" + Given I request "cases/220090038533b0c40688174019225585" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "object" + And the "app_uid" property equals "220090038533b0c40688174019225585" + And the "app_number" property equals 137 + And the "app_name" property equals "#137" + And the "app_status" property equals "TO_DO" + + +Scenario: Returns the current task for a given case of the list Inbox, case 167 of process "derivation rules - sequencial" + Given I request "cases/356811158533b13641ef789000630231/current-task" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "object" And the "tas_uid" property equals "73641967750ec281cf015d9009265327" And the "tas_title" property equals "Cyclical" And the "del_index" property equals "2" @@ -37,8 +72,8 @@ Scenario Outline: Create a new case in workspace with process "Derivation rules Given POST this data: """ { - "pro_uid": "99209594750ec27ea338927000421575", - "tas_uid": "68707275350ec281ada1c95068712556", + "pro_uid": "", + "tas_uid": "", "variables": [{"name": "admin", "lastname":"admin"}] } """ @@ -51,8 +86,9 @@ Scenario Outline: Create a new case in workspace with process "Derivation rules And store "caseNumber" in session array as variable "caseNumber_" Examples: - | case_number | - | 1 | + | Description | case_number | pro_uid | tas_uid | + | Create case 16 in draft | 1 | 99209594750ec27ea338927000421575 | 68707275350ec281ada1c95068712556 | + | Create case 17 in draft | 2 | 99209594750ec27ea338927000421575 | 68707275350ec281ada1c95068712556 | Scenario Outline: Create a new case Impersonate in workspace with process "Derivation rules - sequential" @@ -60,7 +96,7 @@ Scenario Outline: Create a new case Impersonate in workspace with process "Deriv """ { "pro_uid": "99209594750ec27ea338927000421575", - "usr_uid": "24166330352d56730cdd525035621101", + "usr_uid": "", "tas_uid": "68707275350ec281ada1c95068712556", "variables": [{"name": "pruebaQA", "amount":"10400"}] } @@ -74,8 +110,9 @@ Scenario Outline: Create a new case Impersonate in workspace with process "Deriv And store "caseNumber" in session array as variable "caseNumber_" Examples: - | case_number | - | 1 | + | Description | case_number | usr_uid | + | Create new case 18 with user chris | 3 | 24166330352d56730cdd525035621101 | + | Create new case 18 with user adam | 4 | 44811996752d567110634a1013636964 | Scenario: Returns a list of the cases for the logged in user (Draft) @@ -83,36 +120,204 @@ Scenario: Returns a list of the cases for the logged in user (Draft) Then the response status code should be 200 And the response charset is "UTF-8" And the type is "array" - And the response has 2 records + And the response has 18 records -Scenario: Reassigns a case to a different user +Scenario Outline: Reassigns a case to a different user, from user "administrator" to user "aaron" Given PUT this data: """ { - "usr_uid_source": "62625000752d5672d6661e6072881167", - "usr_uid_target": "24166330352d56730cdd525035621101", + "usr_uid_source": "00000000000000000000000000000001", + "usr_uid_target": "51049032352d56710347233042615067", } """ - And that I want to update a resource with the key "case_number" stored in session array - And I request "case/{uid}/reassign-case" + And I request "case//reassign-case" Then the response status code should be 200 And the content type is "application/json" And the response charset is "UTF-8" And the type is "object" + And that I want to update a resource with the key "case_number" stored in session array as variable "caseNumber_" + And that I want to update a resource with the key "caseId" stored in session array as variable "caseId_" + + Examples: + + | test_description | case_number | + | Reassig case 1, created in this script | 1 | -Scenario: Autoderivate a case to the next task in the process +Scenario: Route a case to the next task in the process Given PUT this data: """ { - "case_uid": "78ef3ca7905019270643749052af5bd7", + "case_uid": "", "del_index": "1" } """ - And that I want to update a resource with the key "" stored in session array - And I request "case/{uid}/route-case" + And I request "cases//route-case" Then the response status code should be 200 And the content type is "application/json" And the response charset is "UTF-8" - And the type is "object" \ No newline at end of file + And the type is "object" + And that I want to update a resource with the key "case_number" stored in session array as variable "caseNumber_" + And that I want to update a resource with the key "caseId" stored in session array as variable "caseId_" + + + Examples: + + | test_description | case_number | + | Derivate case 2 to inbox of Administrator, created in this script | 2 | + + + +Scenario: Cancel a case + Given PUT this data: + """ + { + + } + """ + And I request "cases//cancel" + Then the response status code should be 200 + And the content type is "application/json" + And the response charset is "UTF-8" + And the type is "object" + And that I want to update a resource with the key "case_number" stored in session array as variable "caseNumber_" + And that I want to update a resource with the key "caseId" stored in session array as variable "caseId_" + + + Examples: + + | test_description | case_number | + | Cancel case 3, created in this script | 3 | + + +Scenario: Pause a case + Given PUT this data: + """ + { + "unpaused_date": "2016-12-12" + } + """ + And I request "cases//pause" + Then the response status code should be 200 + And the content type is "application/json" + And the response charset is "UTF-8" + And the type is "object" + And that I want to update a resource with the key "case_number" stored in session array as variable "caseNumber_" + And that I want to update a resource with the key "caseId" stored in session array as variable "caseId_" + + + Examples: + + | test_description | case_number | + | Pause case 4, created in this script | 4 | + + +Scenario: Unpause a case + Given PUT this data: + """ + { + + } + """ + And I request "cases//unpause" + Then the response status code should be 200 + And the content type is "application/json" + And the response charset is "UTF-8" + And the type is "object" + And that I want to update a resource with the key "case_number" stored in session array as variable "caseNumber_" + And that I want to update a resource with the key "caseId" stored in session array as variable "caseId_" + + + Examples: + + | test_description | case_number | + | Unpause case 4, created in this script | 4 | + + +Scenario: Executes a ProcessMaker trigger for a case + Given PUT this data: + """ + { + + } + """ + And I request "cases//execute-trigger/{tri_uid}" + Then the response status code should be 200 + And the content type is "application/json" + And the response charset is "UTF-8" + And the type is "object" + And that I want to update a resource with the key "case_number" stored in session array as variable "caseNumber_" + And that I want to update a resource with the key "caseId" stored in session array as variable "caseId_" + + + Examples: + + | test_description | case_number | + | | | + + +Scenario: Delete a case + Given PUT this data: + """ + { + + } + """ + And I request "cases/" + Then the response status code should be 200 + And the content type is "application/json" + And the response charset is "UTF-8" + And the type is "object" + And that I want to update a resource with the key "case_number" stored in session array as variable "caseNumber_" + And that I want to update a resource with the key "caseId" stored in session array as variable "caseId_" + + + Examples: + + | test_description | case_number | + | Delete a case 1, created in this script | 1 | + | Delete a case 2, created in this script | 2 | + | Delete a case 3, created in this script | 3 | + | Delete a case 4, created in this script | 4 | + + +#Listado de casos +Scenario: Returns a list of the cases for the logged in user (Inbox) + Given I request "cases" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "array" + And the response has 14 records + + +Scenario: Returns a list of the cases for the logged in user (Draft) + Given I request "cases/draft" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "array" + And the response has 15 records + + +Scenario: Returns a list of the cases for the logged in user (Participated) + Given I request "cases/participated" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "array" + And the response has 30 records + + +Scenario: Returns a list of the cases for the logged in user (Unassigned) + Given I request "cases/unassigned" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "array" + And the response has 12 records + + +Scenario: Returns a list of the cases for the logged in user (Paused) + Given I request "cases/paused" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "array" + And the response has 12 records \ No newline at end of file diff --git a/features/backend/application_cases/case_actions/main_tests_cases_actions.feature b/features/backend/application_cases/case_actions/main_tests_cases_actions.feature index 089cb3643..cac5b2773 100644 --- a/features/backend/application_cases/case_actions/main_tests_cases_actions.feature +++ b/features/backend/application_cases/case_actions/main_tests_cases_actions.feature @@ -6,6 +6,48 @@ Requirements: Background: Given that I have a valid access_token + +#Listado de casos +Scenario: Returns a list of the cases for the logged in user (Inbox) + Given I request "cases" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "array" + And the response has 14 records + + +Scenario: Returns a list of the cases for the logged in user (Draft) + Given I request "cases/draft" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "array" + And the response has 15 records + + +Scenario: Returns a list of the cases for the logged in user (Participated) + Given I request "cases/participated" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "array" + And the response has 30 records + + +Scenario: Returns a list of the cases for the logged in user (Unassigned) + Given I request "cases/unassigned" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "array" + And the response has 12 records + + +Scenario: Returns a list of the cases for the logged in user (Paused) + Given I request "cases/paused" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "array" + And the response has 12 records + + Scenario: Returns information about a given case of the list Inbox Given I request "cases/48177942153275bfa28bd04070312685" Then the response status code should be 200 diff --git a/features/backend/application_cases/cases_lists_1-6/main_tests_cases_lists_1_6.feature b/features/backend/application_cases/cases_lists_1-6/main_tests_cases_lists_1_6.feature index f11edc16e..4bc362d16 100644 --- a/features/backend/application_cases/cases_lists_1-6/main_tests_cases_lists_1_6.feature +++ b/features/backend/application_cases/cases_lists_1-6/main_tests_cases_lists_1_6.feature @@ -59,21 +59,21 @@ Scenario: Returns a list of the cases for the logged in user (Advanced-Search) -#Scenarios para filtros y paginacion de las listas +#Scenarios para filtros y paginacion en listas Scenario Outline: Get paging of list inbox - Given I request "cases/paged?Start=&limit=" + Given I request "cases/paged?start=&limit=" Then the response status code should be And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: | test_description | start | limit | records | http_code | - | lowercase in Start | a | 1 | 1 | 200 | - | uppercase in Start | A | 1 | 1 | 200 | + | lowercase in start | a | 1 | 1 | 200 | + | uppercase in start | A | 1 | 1 | 200 | | lowercase in Limit | 1 | a | 14 | 200 | | uppercase in Limit | 1 | A | 14 | 200 | | limit=3 | 1 | 3 | 3 | 200 | @@ -104,7 +104,7 @@ Scenario Outline: Get order type of Descending and Acending And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -119,7 +119,7 @@ Scenario Outline: Get order type of Process Category And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -134,7 +134,7 @@ Scenario Outline: Get order type of Process And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -149,7 +149,7 @@ Scenario Outline: Get order type of Search of number the process And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -167,18 +167,18 @@ Scenario: Returns a list of the cases for the logged in user (Draft) Scenario Outline: Get paging of list Draft - Given I request "cases/draft/paged?Start=&limit=" + Given I request "cases/draft/paged?start=&limit=" Then the response status code should be And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: | test_description | start | limit | records | http_code | - | lowercase in Start | a | 1 | 1 | 200 | - | uppercase in Start | A | 1 | 1 | 200 | + | lowercase in start | a | 1 | 1 | 200 | + | uppercase in start | A | 1 | 1 | 200 | | lowercase in Limit | 1 | a | 15 | 200 | | uppercase in Limit | 1 | A | 15 | 200 | | limit=3 | 1 | 3 | 3 | 200 | @@ -209,7 +209,7 @@ Scenario Outline: Get order type of Descending and Ascending And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -225,7 +225,7 @@ Scenario Outline: Get order type of Process Category And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -240,7 +240,7 @@ Scenario Outline: Get order type of Process And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -255,7 +255,7 @@ Scenario Outline: Get order type of Search of the process And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -272,18 +272,18 @@ Scenario: Returns a list of the cases for the logged in user (Participated) And the response has 30 records Scenario Outline: Get paging of list Participated - Given I request "cases/participated/paged?Start=&limit=" + Given I request "cases/participated/paged?start=&limit=" Then the response status code should be And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: | test_description | start | limit | records | http_code | - | lowercase in Start | a | 1 | 1 | 200 | - | uppercase in Start | A | 1 | 1 | 200 | + | lowercase in start | a | 1 | 1 | 200 | + | uppercase in start | A | 1 | 1 | 200 | | lowercase in Limit | 1 | a | 30 | 200 | | uppercase in Limit | 1 | A | 30 | 200 | | limit=3 | 1 | 3 | 3 | 200 | @@ -314,7 +314,7 @@ Scenario Outline: Get order type of Descending an Descending And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -330,7 +330,7 @@ Scenario Outline: Get order type of Process Category And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -345,7 +345,7 @@ Scenario Outline: Get order type of Process And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -361,7 +361,7 @@ Scenario Outline: Get order type of Search And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -379,18 +379,18 @@ Scenario: Returns a list of the cases for the logged in user (Unassigned) Scenario Outline: Get paging of list Unassigned - Given I request "cases/Unassigned/paged?Start=&limit=" + Given I request "cases/Unassigned/paged?start=&limit=" Then the response status code should be And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: | test_description | start | limit | records | http_code | - | lowercase in Start | a | 1 | 1 | 200 | - | uppercase in Start | A | 1 | 1 | 200 | + | lowercase in start | a | 1 | 1 | 200 | + | uppercase in start | A | 1 | 1 | 200 | | lowercase in Limit | 1 | a | 12 | 200 | | uppercase in Limit | 1 | A | 12 | 200 | | limit=3 | 1 | 3 | 3 | 200 | @@ -421,7 +421,7 @@ Scenario Outline: Get order type of Descending and Acending And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -436,7 +436,7 @@ Scenario Outline: Get order type of Process Category And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -451,7 +451,7 @@ Scenario Outline: Get order type of Process And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -466,7 +466,7 @@ Scenario Outline: Get order type of Search And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -485,18 +485,18 @@ Scenario: Returns a list of the cases for the logged in user (Paused) Scenario Outline: Get paging of list Paused - Given I request "cases/paused/paged?Start=&limit=" + Given I request "cases/paused/paged?start=&limit=" Then the response status code should be And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: | test_description | start | limit | records | http_code | - | lowercase in Start | a | 1 | 1 | 200 | - | uppercase in Start | A | 1 | 1 | 200 | + | lowercase in start | a | 1 | 1 | 200 | + | uppercase in start | A | 1 | 1 | 200 | | lowercase in Limit | 1 | a | 12 | 200 | | uppercase in Limit | 1 | A | 12 | 200 | | limit=3 | 1 | 3 | 3 | 200 | @@ -527,7 +527,7 @@ Scenario Outline: Get order type of Descending and Acending And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -542,7 +542,7 @@ Scenario Outline: Get order type of Process Category And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -557,7 +557,7 @@ Scenario Outline: Get order type of Process And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -572,7 +572,7 @@ Scenario Outline: Get order type of Search And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -590,18 +590,18 @@ Scenario: Returns a list of the cases for the logged in user (Advanced Search) Scenario Outline: Get paging of list Advanced Search - Given I request "cases/advanced-search/paged?Start=&limit=" + Given I request "cases/advanced-search/paged?start=&limit=" Then the response status code should be And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: | test_description | start | limit | records | http_code | - | lowercase in Start | a | 1 | 1 | 200 | - | uppercase in Start | A | 1 | 1 | 200 | + | lowercase in start | a | 1 | 1 | 200 | + | uppercase in start | A | 1 | 1 | 200 | | lowercase in Limit | 1 | a | 30 | 200 | | uppercase in Limit | 1 | A | 30 | 200 | | limit=3 | 1 | 3 | 3 | 200 | @@ -632,7 +632,7 @@ Scenario Outline: Get order type of Descending and Acending And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -647,7 +647,7 @@ Scenario Outline: Get order type of Process Category And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -663,7 +663,7 @@ Scenario Outline: Get order type of Process And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -679,7 +679,7 @@ Scenario Outline: Get order type of Search And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -694,7 +694,7 @@ Scenario Outline: Get order for Status And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -711,7 +711,7 @@ Scenario Outline: Get order for User And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: @@ -728,7 +728,7 @@ Scenario Outline: Get order for date And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has records in property "data" + And the response has records Examples: diff --git a/features/backend/application_cases/cases_lists_1-6/negative_tests_cases_lists_1_6.feature b/features/backend/application_cases/cases_lists_1-6/negative_tests_cases_lists_1_6.feature index bb386ba8f..99a86a625 100644 --- a/features/backend/application_cases/cases_lists_1-6/negative_tests_cases_lists_1_6.feature +++ b/features/backend/application_cases/cases_lists_1-6/negative_tests_cases_lists_1_6.feature @@ -9,38 +9,38 @@ Scenario: Returns a list of the cases for the logged in user (Inbox) Given I request "cases" Then the response status code should be 400 And the response has 4 records - And the response status message should have the following text "" + And the response status message should have the following text "Records" Scenario: Returns a list of the cases for the logged in user (Draft) Given I request "cases/draft" Then the response status code should be 400 And the response has 4 records - And the response status message should have the following text "" + And the response status message should have the following text "Records" Scenario: Returns a list of the cases for the logged in user (Participated) Given I request "cases/participated" Then the response status code should be 400 And the response has 4 records - And the response status message should have the following text "" + And the response status message should have the following text "Records" Scenario: Returns a list of the cases for the logged in user (Unassigned) Given I request "cases/unassigned" Then the response status code should be 400 And the response has 4 records - And the response status message should have the following text "" + And the response status message should have the following text "Records" Scenario: Returns a list of the cases for the logged in user (Paused) Given I request "cases/paused" Then the response status code should be 400 And the response has 4 records - And the response status message should have the following text "" + And the response status message should have the following text "Records" Scenario: Returns a list of the cases for the logged in user (Advanced Search) Given I request "cases/advanced-search" Then the response status code should be 400 And the response has 4 records - And the response status message should have the following text "" \ No newline at end of file + And the response status message should have the following text "Records" \ No newline at end of file