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 91045feaa..a038788d3 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 @@ -191,7 +191,7 @@ Scenario: Returns a list of the cases for the logged in user (Draft) -Scenario Outline: Returns the variables can be system variables and/or case variables. +Scenario Outline: Returns case variables generated by triggers before assignment (ba), before routing (br) and after routing (ar). Given I request "cases/app_uid/variables" with the key "app_uid" stored in session array as variable "app_uid_" Then the response status code should be 200 And the response charset is "UTF-8" @@ -202,8 +202,8 @@ Scenario Outline: Returns the variables can be system variables and/or case vari Examples: - | test_description | case_number | - | Derivate case of the process "Derivation rules - sequential" | 6 | + | test_description | case_number | + | Derivate case of the process "Derivation rules - sequential" with triggers | 6 | Scenario Outline: Sends variables to a case @@ -258,9 +258,7 @@ Scenario Outline: Route a case to the next task in the process | Derivate case of the process "Derivation rules - evaluation" | 7 | | Derivate case of the process "Derivation rules - Parallel" | 8 | | Derivate case of the process "Derivation rules - parallel evaluation" | 9 | - | Derivate case of the process "Derivation rules - selection" | 10 | - | Derivate case of the process "Derivation rules - evaluation" | 27 | - + Scenario Outline: Returns the variables can be system variables and/or case variables. Given I request "cases/app_uid/variables" with the key "app_uid" stored in session array as variable "app_uid_" @@ -283,7 +281,7 @@ Scenario: Returns a list of the cases for the logged in user (Inbox) Then the response status code should be 200 And the response charset is "UTF-8" And the type is "array" - And the response has 18 records + And the response has 15 records Scenario Outline: Cancel a case diff --git a/features/backend/application_cases/case_actions/negative_tests_cases_actions.feature b/features/backend/application_cases/case_actions/negative_tests_cases_actions.feature index 1299e6a99..78a30b290 100644 --- a/features/backend/application_cases/case_actions/negative_tests_cases_actions.feature +++ b/features/backend/application_cases/case_actions/negative_tests_cases_actions.feature @@ -47,7 +47,7 @@ Scenario Outline: Create a new case Impersonate (Negative Test) Examples: | Description | pro_uid | usr_uid | tas_uid | error_code | error_message | | Create new case with process "Derivation rules - sequential" invalid pro_uid | 99201111111111111138927000421575 | 51049032352d56710347233042615067 | 68707275350ec281ada1c95068712556 | 400 | pro_uid | - | Create new case with process "Derivation rules - evaluation" invalid tas_uid | 99209594750ec27ea338927000421575 | 44811996752d567110634a1013636964 | 68707211111111111111111111712556 | 400 | tas_uid | + | Create new case with process "Derivation rules - evaluation" invalid tas_uid | 99209594750ec27ea338927000421575 | 44811996752d567110634a1013636964 | 68707211111111111111111111712556 | 400 | tas_uid | | Create new case with process "Derivation rules - Parallel" usr_uid | 99209594750ec27ea338927000421575 | 24166331111111111111115035621101 | 68707275350ec281ada1c95068712556 | 400 | usr_uid | | Create new case with process "Derivation rules - without pro_uid | | 86677227852d5671f40ba25017213081 | 68707275350ec281ada1c95068712556 | 400 | pro_uid | | Create new case with process "Derivation rules - selection" tas_uid | 99209594750ec27ea338927000421575 | 62625000752d5672d6661e6072881167 | | 400 | tas_uid | diff --git a/features/backend/application_cases/input_documents_case/negative_tests_input_document_case.feature b/features/backend/application_cases/input_documents_case/negative_tests_input_document_case.feature index b96d5db0d..fb003d01d 100644 --- a/features/backend/application_cases/input_documents_case/negative_tests_input_document_case.feature +++ b/features/backend/application_cases/input_documents_case/negative_tests_input_document_case.feature @@ -10,7 +10,7 @@ Background: Scenario: Returns a list of the uploaded documents for a given case Given I request "cases/170220159534214f642abb8058832900/input-documents" - Then the response status code should be 404 + Then the response status code should be 400 Scenario Outline: Post metadata and then upload documents for a given case Given POST upload an input document "" to "cases//input-document" diff --git a/features/backend/projects/assignee/main_tests_assignee.feature b/features/backend/projects/assignee/main_tests_assignee.feature index c75f65f81..fb43b12aa 100644 --- a/features/backend/projects/assignee/main_tests_assignee.feature +++ b/features/backend/projects/assignee/main_tests_assignee.feature @@ -91,7 +91,37 @@ Scenario Outline: List assignees of an activity using a filter | Filtered list should return 1 record | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 1 | 36775342552d5674146d9c2078497230 | group | emp | - Scenario Outline: Get a single user or group of an activity +Scenario Outline: List all assignees of an activity includ user of the groups + Given I request "project/4224292655297723eb98691001100052/activity//assignee/all + Then the response status code should be 200 + And the response charset is "UTF-8" + And the content type is "application/json" + And the type is "array" + And that "aas_uid" is set to "" + And that "aas_name" is set to "" + And that "aas_lastname" is set to "" + And that "aas_username" is set to "" + And that "aas_type" is set to "" + + Examples: + + | activity | aas_uid | aas_name | aas_lastname | aas_username | aas_type | + | 65496814252977243d57684076211485 | 00000000000000000000000000000001 | Administrator | | admin | user | + | 65496814252977243d57684076211485 | 24166330352d56730cdd525035621101 | Chris | Rogers | chris | user | + | 65496814252977243d57684076211485 | 62625000752d5672d6661e6072881167 | Zachary | Wegner | zachary | user | + | 65496814252977243d57684076211485 | 33140476452d5671b0abda5073786635 | Gavin | Brule | gavin | user | + | 65496814252977243d57684076211485 | 86021298852d56716b85f73067566944 | Brianna | Ciarleglio | brianna | user | + | 65496814252977243d57684076211485 | 25286582752d56713231082039265791 | Amy | Connelly | amy | user | + | 65496814252977243d57684076211485 | 23085901752d5671483a4c2059274810 | Arlene | Cleveland | arlene | user | + | 65496814252977243d57684076211485 | 32444503652d5671778fd20059078570 | Carter | Ching | carter | user | + | 65496814252977243d57684076211485 | 33140476452d5671b0abda5073786635 | Gavin | Brule | gavin | user | + | 65496814252977243d57684076211485 | 50562411252d5671e788c02016273245 | Jason | Boria | jason | user | + | 65496814252977243d57684076211485 | 70952985852d567244ff0c1060856085 | Kevin | Beam | kevin | user | + | 65496814252977243d57684076211485 | 66955548552d567318736d1041697217 | Erick | Blake | erick | user | + | 65496814252977243d57684076211485 | 82857688652d5673a585726072326208 | Sandra | Casey | sandra | user | + + +Scenario Outline: Get a single user or group of an activity Given I request "project//activity//assignee/" Then the response status code should be 200 And the response charset is "UTF-8" diff --git a/features/backend/projects/step/main_tests_step.feature b/features/backend/projects/step/main_tests_step.feature index 6640b2d2d..309599cc6 100644 --- a/features/backend/projects/step/main_tests_step.feature +++ b/features/backend/projects/step/main_tests_step.feature @@ -179,7 +179,7 @@ Feature: Project Properties - Step Resources Main Tests - Scenario Outline: Assign a 3 triggers to a Step + Scenario Outline: Assign triggers to a Step Given POST this data: """ { diff --git a/features/backend/projects/triggers/main_tests_triggers.feature b/features/backend/projects/triggers/main_tests_triggers.feature index 2c3ce7638..030ad2297 100644 --- a/features/backend/projects/triggers/main_tests_triggers.feature +++ b/features/backend/projects/triggers/main_tests_triggers.feature @@ -152,8 +152,4 @@ Feature: Testing triggers Main Tests And the type is "array" And the response has 2 records And the "tri_title" property in row 0 equals "For event: change description" - And the "tri_title" property in row 1 equals "para eventos" - - - - + And the "tri_title" property in row 1 equals "para eventos" \ No newline at end of file