From 7947c172c6e2eda48fe678c6f6b5505a0fbc082f Mon Sep 17 00:00:00 2001 From: Wendy Nestor Date: Fri, 5 Sep 2014 16:58:17 -0400 Subject: [PATCH] Adicion de nuevos escenarios para realizar los tests en proyectos .pmx --- .../activity/main_tests_activity.feature | 83 +++++--- .../main_tests_adhoc_assignee.feature | 55 ++++-- .../assignee/main_tests_assignee.feature | 60 +++--- .../main_tests_case_scheduler.feature | 183 +++++++++++------- 4 files changed, 251 insertions(+), 130 deletions(-) diff --git a/features/backend/projects/activity/main_tests_activity.feature b/features/backend/projects/activity/main_tests_activity.feature index ba69c4519..879752c46 100644 --- a/features/backend/projects/activity/main_tests_activity.feature +++ b/features/backend/projects/activity/main_tests_activity.feature @@ -1,8 +1,8 @@ @ProcessMakerMichelangelo @RestAPI Feature: Activity Resources Main Tests Requirements: - a workspace with the process 59534741653502b6d1820d6012095837 already loaded - the process name is "Test Activity" + a workspace with the process 59534741653502b6d1820d6012095837 - "Test Activity" already loaded + and workspace with the process 1455892245368ebeb11c1a5001393784 - "Process Complete BPMN" already loaded there are three Activity Resources in the process Background: @@ -10,7 +10,7 @@ Background: Scenario Outline: Get the Properties and Definition of 3 Activities - Given I request "project/59534741653502b6d1820d6012095837/activity/" + Given I request "project//activity/" Then the response status code should be 200 And the response charset is "UTF-8" And the type is "object" @@ -20,14 +20,17 @@ Scenario Outline: Get the Properties and Definition of 3 Activities Examples: - | activity | tas_title | - | 28629650453502b70b7f3a8051740006 | Task 1 | - | 52976670353502b71e2b0a8036043148 | Task 2 | - | 24689389453502b73597aa5052425148 | Task 3 | + | Description | activity | project | tas_title | + | Get of process Test Activity Task 1 | 28629650453502b70b7f3a8051740006 | 59534741653502b6d1820d6012095837 | Task 1 | + | Get of process Test Activity Task 2 | 52976670353502b71e2b0a8036043148 | 59534741653502b6d1820d6012095837 | Task 2 | + | Get of process Test Activity Task 3 | 24689389453502b73597aa5052425148 | 59534741653502b6d1820d6012095837 | Task 3 | + | Get of process Process Complete BPMN | 6274755055368eed1116388064384542 | 1455892245368ebeb11c1a5001393784 | Dynaform | + | Get of process Process Complete BPMN | 4790702485368efad167477011123879 | 1455892245368ebeb11c1a5001393784 | Grids | + | Get of process Process Complete BPMN | 2072984565368efc137a394001073529 | 1455892245368ebeb11c1a5001393784 | Dynaform and Grid | Scenario Outline: Get the Properties of a Activity are exactly three activity - Given I request "project/59534741653502b6d1820d6012095837/activity/?filter=properties" + Given I request "project//activity/?filter=properties" Then the response status code should be 200 And the response charset is "UTF-8" And the type is "object" @@ -35,15 +38,18 @@ Scenario Outline: Get the Properties of a Activity are exactly three activity Examples: - | activity | tas_title | - | 28629650453502b70b7f3a8051740006 | Task 1 | - | 52976670353502b71e2b0a8036043148 | Task 2 | - | 24689389453502b73597aa5052425148 | Task 3 | + | Description | project | activity | tas_title | + | Get of process Test Activity Task 1 | 59534741653502b6d1820d6012095837 | 28629650453502b70b7f3a8051740006 | Task 1 | + | Get of process Test Activity Task 2 | 59534741653502b6d1820d6012095837 | 52976670353502b71e2b0a8036043148 | Task 2 | + | Get of process Test Activity Task 3 | 59534741653502b6d1820d6012095837 | 24689389453502b73597aa5052425148 | Task 3 | + | Get of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | Dynaform | + | Get of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 4790702485368efad167477011123879 | Grids | + | Get of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 2072984565368efc137a394001073529 | Dynaform and Grid | Scenario Outline: Get the Definition of a Activity are exactly three activity - Given I request "project/59534741653502b6d1820d6012095837/activity/?filter=definition" + Given I request "project//activity/?filter=definition" Then the response status code should be 200 And the response charset is "UTF-8" And the type is "object" @@ -51,13 +57,16 @@ Scenario Outline: Get the Definition of a Activity are exactly three activity Examples: - | activity | tas_title | - | 28629650453502b70b7f3a8051740006 | Task 1 | - | 52976670353502b71e2b0a8036043148 | Task 2 | - | 24689389453502b73597aa5052425148 | Task 3 | + | Description | project | activity | tas_title | + | Get of process Test Activity Task 1 | 59534741653502b6d1820d6012095837 | 28629650453502b70b7f3a8051740006 | Task 1 | + | Get of process Test Activity Task 2 | 59534741653502b6d1820d6012095837 | 52976670353502b71e2b0a8036043148 | Task 2 | + | Get of process Test Activity Task 3 | 59534741653502b6d1820d6012095837 | 24689389453502b73597aa5052425148 | Task 3 | + | Get of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | Dynaform | + | Get of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 4790702485368efad167477011123879 | Grids | + | Get of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 2072984565368efc137a394001073529 | Dynaform and Grid | -Scenario: Get a activity (Verification of initial values) "Task1" +Scenario: Get a activity (Verification of initial values) "Task1" of process Test Activity Given I request "project/59534741653502b6d1820d6012095837/activity/28629650453502b70b7f3a8051740006" Then the response status code should be 200 And the response charset is "UTF-8" @@ -85,7 +94,7 @@ Scenario: Get a activity (Verification of initial values) "Task1" And the property "tas_def_message_template" of "properties" is set to "alert_message.html" -Scenario: Get a activity (Verification of initial values) "Task2" +Scenario: Get a activity (Verification of initial values) "Task2" of process Test Activity Given I request "project/59534741653502b6d1820d6012095837/activity/52976670353502b71e2b0a8036043148" Then the response status code should be 200 And the response charset is "UTF-8" @@ -112,7 +121,7 @@ Scenario: Get a activity (Verification of initial values) "Task2" And the property "tas_def_message_template" of "properties" is set to "alert_message.html" -Scenario: Get a activity (Verification of initial values) "Task3" +Scenario: Get a activity (Verification of initial values) "Task3" of process Test Activity Given I request "project/59534741653502b6d1820d6012095837/activity/24689389453502b73597aa5052425148" Then the response status code should be 200 And the response charset is "UTF-8" @@ -139,7 +148,33 @@ Scenario: Get a activity (Verification of initial values) "Task3" And the property "tas_def_message_template" of "properties" is set to "alert_message.html" -Scenario: Update the Definition of a Activity "Task1" and the check if the values had changed +Scenario: Get a activity (Verification of initial values) "Task1" of process Process Complete BPMN + Given I request "project/1455892245368ebeb11c1a5001393784/activity/6274755055368eed1116388064384542" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "object" + And the property "tas_type" of "properties" is set to "NORMAL" + And the property "tas_duration" of "properties" is set to "1" + And the property "tas_type_day" of "properties" is set to "" + And the property "tas_timeunit" of "properties" is set to "DAYS" + And the property "tas_priority_variable" of "properties" is set to "" + And the property "tas_assign_type" of "properties" is set to "BALANCED" + And the property "tas_assign_variable" of "properties" is set to "@@SYS_NEXT_USER_TO_BE_ASSIGNED" + And the property "tas_transfer_fly" of "properties" is set to "FALSE" + And the property "tas_derivation_screen_tpl" of "properties" is set to "" + And the property "tas_selfservice_timeout" of "properties" is set to "0" + And the property "tas_selfservice_time" of "properties" is set to "" + And the property "tas_selfservice_time_unit" of "properties" is set to "" + And the property "tas_selfservice_trigger_uid" of "properties" is set to "" + And the property "tas_title" of "properties" is set to "Dynaform" + And the property "tas_description" of "properties" is set to "" + And the property "tas_def_title" of "properties" is set to "" + And the property "tas_def_description" of "properties" is set to "" + And the property "tas_calendar" of "properties" is set to "" + And the property "tas_def_message_type" of "properties" is set to "text" + And the property "tas_def_message_template" of "properties" is set to "alert_message.html" + +Scenario: Update the Definition of a Activity "Task1" of process Test Activity and the check if the values had changed Given PUT this data: """ { @@ -180,7 +215,7 @@ Scenario: Update the Definition of a Activity "Task1" and the check if the value -Scenario: Get a activity (Review of variables after the update) Task1 +Scenario: Get a activity (Review of variables after the update) Task1 of process Test Activity Given I request "project/59534741653502b6d1820d6012095837/activity/28629650453502b70b7f3a8051740006" Then the response status code should be 200 And the response charset is "UTF-8" @@ -202,7 +237,7 @@ Scenario: Get a activity (Review of variables after the update) Task1 And the property "tas_def_message_type" of "properties" is set to "text" -Scenario: Update the Definition of a Activity to return to baseline of the task1 +Scenario: Update the Definition of a Activity to return to baseline of the task1 of process Test Activity Given PUT this data: """ { @@ -243,7 +278,7 @@ Scenario: Update the Definition of a Activity to return to baseline of the task1 And the type is "object" -Scenario: Get a activity (Verification of initial values) Task1 +Scenario: Get a activity (Verification of initial values) Task1 of process Test Activity Given I request "project/59534741653502b6d1820d6012095837/activity/28629650453502b70b7f3a8051740006" Then the response status code should be 200 And the response charset is "UTF-8" diff --git a/features/backend/projects/adhoc_assignee/main_tests_adhoc_assignee.feature b/features/backend/projects/adhoc_assignee/main_tests_adhoc_assignee.feature index 9bed80224..5981c3c53 100644 --- a/features/backend/projects/adhoc_assignee/main_tests_adhoc_assignee.feature +++ b/features/backend/projects/adhoc_assignee/main_tests_adhoc_assignee.feature @@ -3,6 +3,8 @@ Feature: Project Properties -Adhoc Assignee Resources Requirements: a workspace with the process 4224292655297723eb98691001100052 ("Test Users-Step-Properties End Point") already loaded there are one group in the task 1 and there are zero users in the task two + and workspace with the process 1455892245368ebeb11c1a5001393784 - "Process Complete BPMN" already loaded" already loaded + Background: Given that I have a valid access_token @@ -18,8 +20,10 @@ Requirements: And the "ada_type" property in row 0 equals "" Examples: - | test_description | project | activity | records | ada_uid | ada_type | - | check if the list of possible users and groups to be assigned is correct | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 80 | 54731929352d56741de9d42002704749 | group | + | test_description | project | activity | records | ada_uid | ada_type | + | check if the list of possible users and groups to be assigned is correct, Task 1 of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 80 | 54731929352d56741de9d42002704749 | group | + | check if the list of possible users and groups to be assigned is correct, Task 1 of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 83 | 54731929352d56741de9d42002704749 | group | + Scenario Outline: Get a list of available adhoc users and groups to be assigned to an activity with filter Given I request "project//activity//adhoc-available-assignee?filter=&start=&limit=" @@ -32,9 +36,12 @@ Requirements: And the "ada_type" property in row 0 equals "" Examples: - | test_description | project | activity | filter | start | limit | records | ada_uid | ada_type | - | Using filter get available users that match with "fin" | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | fin | 0 | 50 | 2 | 66623507552d56742865613066097298 | group | - | Using filter get 1 available user that match with "fin" | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | fin | 0 | 1 | 1 | 66623507552d56742865613066097298 | group | + | test_description | project | activity | filter | start | limit | records | ada_uid | ada_type | + | Using filter get available users that match with "fin"-Task 1 of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | fin | 0 | 50 | 2 | 66623507552d56742865613066097298 | group | + | Using filter get 1 available user that match with "fin"-Task 1 of process Test Users-Step-Properties End Point| 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | fin | 0 | 1 | 1 | 66623507552d56742865613066097298 | group | + | Using filter get available users that match with "fin"-Task 1 of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | fin | 0 | 50 | 2 | 66623507552d56742865613066097298 | group | + | Using filter get 1 available user that match with "fin"-Task 1 of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | fin | 0 | 1 | 1 | 66623507552d56742865613066097298 | group | + Scenario Outline: Assign a adhoc user or group to an activity Given POST this data: @@ -49,11 +56,15 @@ Requirements: And the type is "object" Examples: - | test_description | project | activity | ada_uid | ada_type | - | assign a user to the first task | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 73005191052d56727901138030694610 | user | - | assign a user to the first task | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 25286582752d56713231082039265791 | user | - | assign a group to the first task | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 54731929352d56741de9d42002704749 | group | - | assign a group to the second task | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 36775342552d5674146d9c2078497230 | group | + | test_description | project | activity | ada_uid | ada_type | + | Assign a user to the first task of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 73005191052d56727901138030694610 | user | + | Assign a user to the first task of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 25286582752d56713231082039265791 | user | + | Assign a group to the first task of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 54731929352d56741de9d42002704749 | group | + | Assign a group to the second task of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 36775342552d5674146d9c2078497230 | group | + | Assign a user to the first task of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 73005191052d56727901138030694610 | user | + | Assign a user to the first task of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 25286582752d56713231082039265791 | user | + | Assign a group to the first task of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 54731929352d56741de9d42002704749 | group | + | Assign a group to the second task of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 4790702485368efad167477011123879 | 36775342552d5674146d9c2078497230 | group | @@ -68,9 +79,10 @@ Requirements: And the "ada_type" property in row 0 equals "" Examples: - | test_description | project | activity | records | ada_uid | ada_type | - | Verify that the activity has expected quantity of asignees | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 6 | 54731929352d56741de9d42002704749 | group | - | Verify that the activity has expected quantity of asignees | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 1 | 36775342552d5674146d9c2078497230 | group | + | test_description | project | activity | records | ada_uid | ada_type | + | Verify that the activity has expected quantity of asignees of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 6 | 54731929352d56741de9d42002704749 | group | + | Verify that the activity has expected quantity of asignees of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 1 | 36775342552d5674146d9c2078497230 | group | + | Verify that the activity has expected quantity of asignees of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 3 | 54731929352d56741de9d42002704749 | group | Scenario Outline: After assignation - List adhoc assignees of an activity with filter @@ -86,7 +98,7 @@ Requirements: Examples: | test_description | project | activity | records | ada_uid | ada_type | filter | | Filtered list should return 1 record | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 1 | 73005191052d56727901138030694610 | user | oli | - | Filtered list should return 1 record | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 1 | 36775342552d5674146d9c2078497230 | group | emp | + | Filtered list should return 1 record | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 3 | 36775342552d5674146d9c2078497230 | group | emp | Scenario Outline: Get a single adhoc user or group of an activity Given I request "project//activity//adhoc-assignee/" @@ -110,12 +122,17 @@ Requirements: Then the response status code should be 200 Examples: - | test_description | project | activity | ada_uid | - | Remove a user from activity | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 73005191052d56727901138030694610 | - | Remove a user from activity | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 25286582752d56713231082039265791 | - | Remove a user from activity | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 54731929352d56741de9d42002704749 | - | Remove a user from activity | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 36775342552d5674146d9c2078497230 | + | test_description | project | activity | ada_uid | + | Remove a user from activity of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 73005191052d56727901138030694610 | + | Remove a user from activity of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 25286582752d56713231082039265791 | + | Remove a user from activity of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 54731929352d56741de9d42002704749 | + | Remove a user from activity of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 36775342552d5674146d9c2078497230 | + | Remove a user from activity of process of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 73005191052d56727901138030694610 | + | Remove a user from activity of process of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 25286582752d56713231082039265791 | + | Remove a user from activity of process of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 54731929352d56741de9d42002704749 | + | Remove a user from activity of process of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 4790702485368efad167477011123879 | 36775342552d5674146d9c2078497230 | + Scenario: List assignees of an activity Given I request "project/4224292655297723eb98691001100052/activity/65496814252977243d57684076211485/adhoc-assignee" Then the response status code should be 200 diff --git a/features/backend/projects/assignee/main_tests_assignee.feature b/features/backend/projects/assignee/main_tests_assignee.feature index 9bcd7218a..a4cc2fccc 100644 --- a/features/backend/projects/assignee/main_tests_assignee.feature +++ b/features/backend/projects/assignee/main_tests_assignee.feature @@ -2,11 +2,13 @@ Feature: Assignee Resources Requirements: a workspace with the process 4224292655297723eb98691001100052 ("Test Users-Step-Properties End Point") already loaded + there are one group in the task 1 and there are zero users in the task two + and workspace with the process 1455892245368ebeb11c1a5001393784 - "Process Complete BPMN" already loaded" already loaded - Background: +Background: Given that I have a valid access_token - Scenario Outline: Get the list of available users and groups to be assigned to an activity +Scenario Outline: Get the list of available users and groups to be assigned to an activity Check that there are exactly 79 available users for task "Task 1" Given I request "project//activity//available-assignee" Then the response status code should be 200 @@ -18,8 +20,10 @@ Feature: Assignee Resources And the "aas_type" property in row 0 equals "" Examples: - | test_description | project | activity | records | aas_uid | aas_type | - | check if the list of possible users and groups to be assigned is correct | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 79 | 54731929352d56741de9d42002704749 | group | + | test_description | project | activity | records | aas_uid | aas_type | + | check if the list of possible users and groups to be assigned is correct | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 79 | 54731929352d56741de9d42002704749 | group | + | check if the list of possible users and groups to be assigned is correct, Task 1 of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 82 | 54731929352d56741de9d42002704749 | group | + Scenario Outline: Get the list of available users and groups to be assigned to an activity using filter Given I request "project//activity//available-assignee?filter=&start=&limit=" @@ -32,11 +36,13 @@ Scenario Outline: Get the list of available users and groups to be assigned to a And the "aas_type" property in row 0 equals "" Examples: - | test_description | project | activity | filter | start | limit | records | aas_uid | aas_type| - | Using filter="fin" with no limits should return 2 groups | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | fin | 0 | 50 | 2 | 66623507552d56742865613066097298 | group | - | Using filter="fin", start="1", limit="1" should return 1 group | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | fin | 0 | 1 | 1 | 66623507552d56742865613066097298 | group | - | Using filter="financial" should return 1 available group | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | financial | 0 | 1 | 1 | 99025456252d567468f0798036479112 | group | - | Using filter="finance" should return 1 available group | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | finance | 0 | 1 | 1 | 66623507552d56742865613066097298 | group | + | test_description | project | activity | filter | start | limit | records | aas_uid | aas_type| + | Using filter="fin" with no limits should return 2 groups | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | fin | 0 | 50 | 2 | 66623507552d56742865613066097298 | group | + | Using filter="fin", start="1", limit="1" should return 1 group | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | fin | 0 | 1 | 1 | 66623507552d56742865613066097298 | group | + | Using filter="financial" should return 1 available group | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | financial | 0 | 1 | 1 | 99025456252d567468f0798036479112 | group | + | Using filter="finance" should return 1 available group | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | finance | 0 | 1 | 1 | 66623507552d56742865613066097298 | group | + | Using filter get available users that match with "fin"-Task 1 of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | fin | 0 | 50 | 2 | 66623507552d56742865613066097298 | group | + | Using filter get 1 available user that match with "fin"-Task 1 of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | fin | 0 | 1 | 1 | 66623507552d56742865613066097298 | group | Scenario Outline: Assign 2 users and 2 group to an activity @@ -52,11 +58,15 @@ Scenario Outline: Get the list of available users and groups to be assigned to a And the type is "object" Examples: - | test_description | project | activity | aas_uid | aas_type | - | assign a user to the first task | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 73005191052d56727901138030694610 | user | - | assign a user to the first task | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 25286582752d56713231082039265791 | user | - | assign a group to the first task | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 54731929352d56741de9d42002704749 | group | - | assign a group to the second task | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 36775342552d5674146d9c2078497230 | group | + | test_description | project | activity | aas_uid | aas_type | + | assign a user to the first task of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 73005191052d56727901138030694610 | user | + | assign a user to the first task of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 25286582752d56713231082039265791 | user | + | assign a group to the first task of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 54731929352d56741de9d42002704749 | group | + | assign a group to the second task of process Test Users-Step-Properties End Point| 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 36775342552d5674146d9c2078497230 | group | + | Assign a user to the first task of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 73005191052d56727901138030694610 | user | + | Assign a user to the first task of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 25286582752d56713231082039265791 | user | + | Assign a group to the first task of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 54731929352d56741de9d42002704749 | group | + | Assign a group to the second task of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 4790702485368efad167477011123879 | 36775342552d5674146d9c2078497230 | group | Scenario Outline: After assignation - List assignees of each activity @@ -70,9 +80,10 @@ Scenario Outline: Get the list of available users and groups to be assigned to a And the "aas_type" property in row 0 equals "" Examples: - | test_description | project | activity | records | aas_uid | aas_type | - | Verify that the activity has expected quantity of asignees | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 7 | 54731929352d56741de9d42002704749 | group | - | Verify that the activity has expected quantity of asignees | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 5 | 36775342552d5674146d9c2078497230 | group | + | test_description | project | activity | records | aas_uid | aas_type | + | Verify that the activity has expected quantity of asignees of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 7 | 54731929352d56741de9d42002704749 | group | + | Verify that the activity has expected quantity of asignees of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 5 | 36775342552d5674146d9c2078497230 | group | + | Verify that the activity has expected quantity of asignees of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 4 | 54731929352d56741de9d42002704749 | group | Scenario Outline: List assignees of an activity using a filter @@ -144,11 +155,16 @@ Scenario Outline: Get a single user or group of an activity Then the response status code should be 200 Examples: - | test_description | project | activity | aas_uid | - | Remove a user from activity | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 73005191052d56727901138030694610 | - | Remove a user from activity | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 25286582752d56713231082039265791 | - | Remove a user from activity | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 54731929352d56741de9d42002704749 | - | Remove a user from activity | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 36775342552d5674146d9c2078497230 | + | test_description | project | activity | aas_uid | + | Remove a user from activity of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 73005191052d56727901138030694610 | + | Remove a user from activity of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 25286582752d56713231082039265791 | + | Remove a user from activity of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 54731929352d56741de9d42002704749 | + | Remove a user from activity of process Test Users-Step-Properties End Point | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | 36775342552d5674146d9c2078497230 | + | Remove a user from activity of process of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 73005191052d56727901138030694610 | + | Remove a user from activity of process of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 25286582752d56713231082039265791 | + | Remove a user from activity of process of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | 54731929352d56741de9d42002704749 | + | Remove a user from activity of process of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 4790702485368efad167477011123879 | 36775342552d5674146d9c2078497230 | + Scenario: List assignees of an activity diff --git a/features/backend/projects/case_scheduler/main_tests_case_scheduler.feature b/features/backend/projects/case_scheduler/main_tests_case_scheduler.feature index 400bebb83..221530d3c 100644 --- a/features/backend/projects/case_scheduler/main_tests_case_scheduler.feature +++ b/features/backend/projects/case_scheduler/main_tests_case_scheduler.feature @@ -3,20 +3,27 @@ Feature: Case Scheduler Main Tests Requirements: a workspace with the process 1265557095225ff5c688f46031700471 ("Test Michelangelo") already loaded there are zero case scheduler in the process and there four tasks in the process + and workspace with the process 1455892245368ebeb11c1a5001393784 - "Process Complete BPMN" already loaded" already loaded Background: Given that I have a valid access_token -Scenario: Get the case schedulers list when there are exactly zero case schedulers - Given I request "project/1265557095225ff5c688f46031700471/case-schedulers" +Scenario Outline: Get the case schedulers list when there are exactly zero case schedulers + Given I request "project//case-schedulers" 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 the response has 0 record + And the response has record + Examples: + + | test_description | project | record | + | Get case scheduler of process Test Michelangelo | 1265557095225ff5c688f46031700471 | 0 | + | Get case scheduler of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 0 | + -Scenario Outline: Create a 13 case scheduler for a project +Scenario Outline: Create any case scheduler for a project Given POST this data: """ { @@ -35,7 +42,7 @@ Scenario Outline: Create a 13 case scheduler for a project "sch_repeat_every": "" } """ - And I request "project/1265557095225ff5c688f46031700471/case-scheduler" + And I request "project//case-scheduler" Then the response status code should be 201 And the response charset is "UTF-8" And the content type is "application/json" @@ -44,23 +51,39 @@ Scenario Outline: Create a 13 case scheduler for a project Examples: - | test_description | sch_uid_number | sch_del_user_name | tas_uid | sch_name | sch_option | sch_start_date | sch_end_date | sch_start_time | sch_week_days | sch_start_day | sch_start_day_opt_1 | sch_months | sch_start_day_opt_2 | sch_repeat_every | - | Create with Daily | 1 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Daily 123@#$ | 1 | 2014-01-30 | 2014-02-20 | 12:00 | | | | | | | - | Create with Weekly, sch_week_days=monday | 2 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Weekly monday 345%$# | 2 | 2014-02-20 | 2014-03-20 | 08:00 | 1 | | | | | | - | Create with Weekly, sch_week_days=tuesday, wednesday, thursday, friday, saturday, sunday | 3 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Weekly 345%$# | 2 | 2014-02-20 | 2014-03-20 | 08:00 | 2\|3\|4\|5\|6\|7 | | | | | | - | Create with Monthly and day of month, day of month=1, of the month(s)=3,4 | 4 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 1 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 1 | 15 | 3\|4 | | | - | Create with Monthly and day of month, day of month=1, of the month=1,2,5,6,7,8,9,10,11,12 | 5 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 2 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 1 | 15 | 1\|2\|5\|6\|7\|8\|9\|10\|11\|12 | | | - | Create with Monthly and the day=first and Monday | 6 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 3 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 1\|7 | | - | Create with Monthly and the day=second and Saturday | 7 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 4 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 2\|6 | | - | Create with Monthly and the day=Third and Friday | 8 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 5 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 3\|5 | | - | Create with Monthly and the day=second and Thursday | 9 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 6 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 2\|4 | | - | Create with Monthly and the day=last and Wednesday | 10 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 7 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 5\|3 | | - | Create with Monthly and the day=last and Wednesday, of the month=1,2,6,7,8,9,10,11,12 | 11 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 8 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 1\|2\|6\|7\|8\|9\|10\|11\|12 | 5\|3 | | - | Create with One time only | 12 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-One Time only 678%$@ | 4 | | | 20:00 | | | | | | | - | Create with Every | 13 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 12.30 | - | Create with Daily - Test BUG 15316 | 14 | admin | 46941969352af5be2ab3f39001216717 | Bug 15316 | 1 | 2014-01-30 | | 12:00 | | | | | | | - | Test BUG 15330, 15331: Every format in the properties Invalid Start Timer 1.00 | 15 | admin | 46941969352af5be2ab3f39001216717 | BUG 15330 1.0 | 5 | | | | | | | | | 1.00 | - | Test BUG 15330, 15331: Every format in the properties Invalid Start Timer 01.00 | 16 | admin | 46941969352af5be2ab3f39001216717 | BUG 15330 01.00 | 5 | | | | | | | | | 01.00 | + | test_description | sch_uid_number | project | sch_del_user_name | tas_uid | sch_name | sch_option | sch_start_date | sch_end_date | sch_start_time | sch_week_days | sch_start_day | sch_start_day_opt_1 | sch_months | sch_start_day_opt_2 | sch_repeat_every | + | Create with Daily of process .pm | 1 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Daily 123@#$ | 1 | 2014-01-30 | 2014-02-20 | 12:00 | | | | | | | + | Create with Weekly, sch_week_days=monday of process .pm | 2 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Weekly monday 345%$# | 2 | 2014-02-20 | 2014-03-20 | 08:00 | 1 | | | | | | + | Create with Weekly, sch_week_days=tuesday, wednesday, thursday, friday, saturday, sunday of process .pm | 3 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Weekly 345%$# | 2 | 2014-02-20 | 2014-03-20 | 08:00 | 2\|3\|4\|5\|6\|7 | | | | | | + | Create with Monthly and day of month, day of month=1, of the month(s)=3,4 of process .pm | 4 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 1 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 1 | 15 | 3\|4 | | | + | Create with Monthly and day of month, day of month=1, of the month=1,2,5,6,7,8,9,10,11,12 of process .pm | 5 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 2 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 1 | 15 | 1\|2\|5\|6\|7\|8\|9\|10\|11\|12 | | | + | Create with Monthly and the day=first and Monday of process .pm | 6 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 3 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 1\|7 | | + | Create with Monthly and the day=second and Saturday of process .pm | 7 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 4 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 2\|6 | | + | Create with Monthly and the day=Third and Friday of process .pm | 8 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 5 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 3\|5 | | + | Create with Monthly and the day=second and Thursday of process .pm | 9 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 6 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 2\|4 | | + | Create with Monthly and the day=last and Wednesday of process .pm | 10 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 7 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 5\|3 | | + | Create with Monthly and the day=last and Wednesday, of the month=1,2,6,7,8,9,10,11,12 of process .pm | 11 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 8 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 1\|2\|6\|7\|8\|9\|10\|11\|12 | 5\|3 | | + | Create with One time only of process .pm | 12 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-One Time only 678%$@ | 4 | | | 20:00 | | | | | | | + | Create with Every of process .pm | 13 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 12.30 | + | Create with Daily - Test BUG 15316 of process .pm | 14 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | Bug 15316 | 1 | 2014-01-30 | | 12:00 | | | | | | | + | Test BUG 15330, 15331: Every format in the properties Invalid Start Timer 1.00 of process .pm | 15 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | BUG 15330 1.0 | 5 | | | | | | | | | 1.00 | + | Test BUG 15330, 15331: Every format in the properties Invalid Start Timer 01.00 of process .pm | 16 | 1265557095225ff5c688f46031700471 | admin | 46941969352af5be2ab3f39001216717 | BUG 15330 01.00 | 5 | | | | | | | | | 01.00 | + | Create with Daily of process .pmx | 17 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Case Scheduler-Daily 123@#$ | 1 | 2014-01-30 | 2014-02-20 | 12:00 | | | | | | | + | Create with Weekly, sch_week_days=monday of process .pmx | 18 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Case Scheduler-Weekly monday 345%$# | 2 | 2014-02-20 | 2014-03-20 | 08:00 | 1 | | | | | | + | Create with Weekly, sch_week_days=tuesday, wednesday, thursday, friday, saturday, sunday of process .pmx | 19 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Case Scheduler-Weekly 345%$# | 2 | 2014-02-20 | 2014-03-20 | 08:00 | 2\|3\|4\|5\|6\|7 | | | | | | + | Create with Monthly and day of month, day of month=1, of the month(s)=3,4 of process .pmx | 20 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Case Scheduler-Monthly 567&^% 1 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 1 | 15 | 3\|4 | | | + | Create with Monthly and day of month, day of month=1, of the month=1,2,5,6,7,8,9,10,11,12 of process .pmx | 21 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Case Scheduler-Monthly 567&^% 2 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 1 | 15 | 1\|2\|5\|6\|7\|8\|9\|10\|11\|12 | | | + | Create with Monthly and the day=first and Monday of process .pmx | 22 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Case Scheduler-Monthly 567&^% 3 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 1\|7 | | + | Create with Monthly and the day=second and Saturday of process .pmx | 23 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Case Scheduler-Monthly 567&^% 4 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 2\|6 | | + | Create with Monthly and the day=Third and Friday of process .pmx | 24 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Case Scheduler-Monthly 567&^% 5 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 3\|5 | | + | Create with Monthly and the day=second and Thursday of process .pmx | 25 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Case Scheduler-Monthly 567&^% 6 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 2\|4 | | + | Create with Monthly and the day=last and Wednesday of process .pmx | 26 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Case Scheduler-Monthly 567&^% 7 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 5\|3 | | + | Create with Monthly and the day=last and Wednesday, of the month=1,2,6,7,8,9,10,11,12 of process .pmx | 27 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Case Scheduler-Monthly 567&^% 8 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 1\|2\|6\|7\|8\|9\|10\|11\|12 | 5\|3 | | + | Create with One time only of process .pmx | 28 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Case Scheduler-One Time only 678%$@ | 4 | | | 20:00 | | | | | | | + | Create with Every of process .pmx | 29 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 12.30 | + | Create with Daily - Test BUG 15316 of process .pmx | 30 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | Bug 15316 | 1 | 2014-01-30 | | 12:00 | | | | | | | + | Test BUG 15330, 15331: Every format in the properties Invalid Start Timer 1.00 of process .pmx | 31 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | BUG 15330 1.0 | 5 | | | | | | | | | 1.00 | + | Test BUG 15330, 15331: Every format in the properties Invalid Start Timer 01.00 of process .pmx | 32 | 1455892245368ebeb11c1a5001393784 | admin | 4790702485368efad167477011123879 | BUG 15330 01.00 | 5 | | | | | | | | | 01.00 | Scenario: Create a new case scheduler with same name @@ -87,13 +110,19 @@ Scenario: Create a new case scheduler with same name And the response status message should have the following text "Duplicate" -Scenario: Get the case schedulers list when there are exactly 13 case schedulers - Given I request "project/1265557095225ff5c688f46031700471/case-schedulers" +Scenario Outline: Get the case schedulers list when there are exactly 16 case schedulers in each process + Given I request "project//case-schedulers" 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 the response has 16 record + + Examples: + + | test_description | project | record | + | Get case scheduler of process Test Michelangelo | 1265557095225ff5c688f46031700471 | 16 | + | Get case scheduler of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 16 | Scenario Outline: Update the case schedulers for a project and then check if the values had changed @@ -117,24 +146,30 @@ Scenario Outline: Update the case schedulers for a project and then check if the } """ And that I want to update a resource with the key "sch_uid" stored in session array as variable "sch_uid_" - And I request "project/1265557095225ff5c688f46031700471/case-scheduler" + And I request "project//case-scheduler" And the content type is "application/json" Then the response status code should be 200 And the response charset is "UTF-8" Examples: - | test_description | sch_uid_number | sch_del_user_name | tas_uid | sch_name | sch_option | sch_start_date | sch_end_date | sch_start_time | sch_week_days | sch_start_day | sch_start_day_opt_1 | sch_months | sch_start_day_opt_2 | sch_repeat_every |sch_state | - | Update Daily | 1 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Daily 123@#$ | 1 | 2014-02-30 | 2014-03-20 | 12:30 | | | | | | |ACTIVE | - | Update Weekly, sch_week_days=monday | 2 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Weekly monday 345%$# | 2 | 2014-03-20 | 2014-04-20 | 08:30 | 2 | | | | | |ACTIVE | - | Update Monthly and day of month, day of month=1, of the month(s)=3,4 | 4 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Monthly 567&^% 1 | 3 | 2014-04-21 | 2014-05-18 | 18:30 | | 1 | 18 | 3\|4\|5 | | |ACTIVE | - | Update One time only | 12 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-One Time only 678%$@ | 4 | | | 20:30 | | | | | | |ACTIVE | - | Update Every | 13 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 18.30 |ACTIVE | + | test_description | sch_uid_number | project | sch_del_user_name | tas_uid | sch_name | sch_option | sch_start_date | sch_end_date | sch_start_time | sch_week_days | sch_start_day | sch_start_day_opt_1 | sch_months | sch_start_day_opt_2 | sch_repeat_every |sch_state | + | Update Daily of process .pm | 1 | 1265557095225ff5c688f46031700471 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Daily 123@#$ | 1 | 2014-02-30 | 2014-03-20 | 12:30 | | | | | | |ACTIVE | + | Update Weekly, sch_week_days=monday of process .pm | 2 | 1265557095225ff5c688f46031700471 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Weekly monday 345%$# | 2 | 2014-03-20 | 2014-04-20 | 08:30 | 2 | | | | | |ACTIVE | + | Update Monthly and day of month, day of month=1, of the month(s)=3,4 of process .pm | 4 | 1265557095225ff5c688f46031700471 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Monthly 567&^% 1 | 3 | 2014-04-21 | 2014-05-18 | 18:30 | | 1 | 18 | 3\|4\|5 | | |ACTIVE | + | Update One time only of process .pm | 12 | 1265557095225ff5c688f46031700471 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-One Time only 678%$@ | 4 | | | 20:30 | | | | | | |ACTIVE | + | Update Every of process .pm | 13 | 1265557095225ff5c688f46031700471 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 18.30 |ACTIVE | + | Update Daily of process .pmx | 17 | 1455892245368ebeb11c1a5001393784 | admin | 6274755055368eed1116388064384542 | Update Case Scheduler-Daily 123@#$ | 1 | 2014-02-30 | 2014-03-20 | 12:30 | | | | | | |ACTIVE | + | Update Weekly, sch_week_days=monday of process .pmx | 18 | 1455892245368ebeb11c1a5001393784 | admin | 6274755055368eed1116388064384542 | Update Case Scheduler-Weekly monday 345%$# | 2 | 2014-03-20 | 2014-04-20 | 08:30 | 2 | | | | | |ACTIVE | + | Update Monthly and day of month, day of month=1, of the month(s)=3,4 of process .pmx | 20 | 1455892245368ebeb11c1a5001393784 | admin | 6274755055368eed1116388064384542 | Update Case Scheduler-Monthly 567&^% 1 | 3 | 2014-04-21 | 2014-05-18 | 18:30 | | 1 | 18 | 3\|4\|5 | | |ACTIVE | + | Update One time only of process .pmx | 29 | 1455892245368ebeb11c1a5001393784 | admin | 6274755055368eed1116388064384542 | Update Case Scheduler-One Time only 678%$@ | 4 | | | 20:30 | | | | | | |ACTIVE | + | Update Every of process .pmx | 30 | 1455892245368ebeb11c1a5001393784 | admin | 6274755055368eed1116388064384542 | Update Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 18.30 |ACTIVE | + Scenario Outline: Get a single case scheduler of a project and check some properties Given that I want to get a resource with the key "sch_uid" stored in session array as variable "sch_uid_" - And I request "project/1265557095225ff5c688f46031700471/case-scheduler" + And I request "project//case-scheduler" Then the response status code should be 200 And the content type is "application/json" And the type is "object" @@ -152,45 +187,64 @@ Scenario Outline: Get a single case scheduler of a project and check some proper Examples: - | sch_uid_number | sch_del_user_name | sch_del_user_pass | tas_uid | sch_name | sch_option | sch_start_date | sch_end_date | sch_start_time | sch_week_days | sch_start_day | sch_start_day_opt_1 | sch_months | sch_start_day_opt_2 | sch_repeat_every | - | 1 | admin | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Daily 123@#$ | 1 | 2014-02-30 | 2014-03-20 | 12:30 | | | | | | | - | 2 | admin | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Weekly monday 345%$# | 2 | 2014-03-20 | 2014-04-20 | 08:30 | 2 | | | | | | - | 4 | admin | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Monthly 567&^% 1 | 3 | 2014-04-21 | 2014-05-18 | 18:30 | | 2 | 18 | 3\|4\|5 | | | - | 12 | admin | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-One Time only 678%$@ | 4 | | | 20:30 | | | | | | | - | 13 | admin | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 18:30 | + | test_description | sch_uid_number | project | sch_del_user_name | tas_uid | sch_name | sch_option | sch_start_date | sch_end_date | sch_start_time | sch_week_days | sch_start_day | sch_start_day_opt_1 | sch_months | sch_start_day_opt_2 | sch_repeat_every |sch_state | + | Update Daily of process .pm | 1 | 1265557095225ff5c688f46031700471 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Daily 123@#$ | 1 | 2014-02-30 | 2014-03-20 | 12:30 | | | | | | |ACTIVE | + | Update Weekly, sch_week_days=monday of process .pm | 2 | 1265557095225ff5c688f46031700471 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Weekly monday 345%$# | 2 | 2014-03-20 | 2014-04-20 | 08:30 | 2 | | | | | |ACTIVE | + | Update Monthly and day of month, day of month=1, of the month(s)=3,4 of process .pm | 4 | 1265557095225ff5c688f46031700471 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Monthly 567&^% 1 | 3 | 2014-04-21 | 2014-05-18 | 18:30 | | 1 | 18 | 3\|4\|5 | | |ACTIVE | + | Update One time only of process .pm | 12 | 1265557095225ff5c688f46031700471 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-One Time only 678%$@ | 4 | | | 20:30 | | | | | | |ACTIVE | + | Update Every of process .pm | 13 | 1265557095225ff5c688f46031700471 | admin | 1352844695225ff5fe54de2005407079 | Update Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 18.30 |ACTIVE | + | Update Daily of process .pmx | 17 | 1455892245368ebeb11c1a5001393784 | admin | 6274755055368eed1116388064384542 | Update Case Scheduler-Daily 123@#$ | 1 | 2014-02-30 | 2014-03-20 | 12:30 | | | | | | |ACTIVE | + | Update Weekly, sch_week_days=monday of process .pmx | 18 | 1455892245368ebeb11c1a5001393784 | admin | 6274755055368eed1116388064384542 | Update Case Scheduler-Weekly monday 345%$# | 2 | 2014-03-20 | 2014-04-20 | 08:30 | 2 | | | | | |ACTIVE | + | Update Monthly and day of month, day of month=1, of the month(s)=3,4 of process .pmx | 20 | 1455892245368ebeb11c1a5001393784 | admin | 6274755055368eed1116388064384542 | Update Case Scheduler-Monthly 567&^% 1 | 3 | 2014-04-21 | 2014-05-18 | 18:30 | | 1 | 18 | 3\|4\|5 | | |ACTIVE | + | Update One time only of process .pmx | 29 | 1455892245368ebeb11c1a5001393784 | admin | 6274755055368eed1116388064384542 | Update Case Scheduler-One Time only 678%$@ | 4 | | | 20:30 | | | | | | |ACTIVE | + | Update Every of process .pmx | 30 | 1455892245368ebeb11c1a5001393784 | admin | 6274755055368eed1116388064384542 | Update Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 18.30 |ACTIVE | Scenario Outline: Delete all case scheduler of a project created previously in this script Given that I want to delete a resource with the key "sch_uid" stored in session array as variable "sch_uid_" - And I request "project/1265557095225ff5c688f46031700471/case-scheduler" - Then the response status code should be 200 - And the response charset is "UTF-8" - And the type is "object" - + And I request "project//case-scheduler" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "object" Examples: - | sch_uid_number | - | 1 | - | 2 | - | 3 | - | 4 | - | 5 | - | 6 | - | 7 | - | 8 | - | 9 | - | 10 | - | 11 | - | 12 | - | 13 | - | 14 | - | 15 | - | 16 | - - - + | sch_uid_number | project | + | 1 | 1265557095225ff5c688f46031700471 | + | 2 | 1265557095225ff5c688f46031700471 | + | 3 | 1265557095225ff5c688f46031700471 | + | 4 | 1265557095225ff5c688f46031700471 | + | 5 | 1265557095225ff5c688f46031700471 | + | 6 | 1265557095225ff5c688f46031700471 | + | 7 | 1265557095225ff5c688f46031700471 | + | 8 | 1265557095225ff5c688f46031700471 | + | 9 | 1265557095225ff5c688f46031700471 | + | 10 | 1265557095225ff5c688f46031700471 | + | 11 | 1265557095225ff5c688f46031700471 | + | 12 | 1265557095225ff5c688f46031700471 | + | 13 | 1265557095225ff5c688f46031700471 | + | 14 | 1265557095225ff5c688f46031700471 | + | 15 | 1265557095225ff5c688f46031700471 | + | 16 | 1265557095225ff5c688f46031700471 | + | 17 | 1455892245368ebeb11c1a5001393784 | + | 18 | 1455892245368ebeb11c1a5001393784 | + | 19 | 1455892245368ebeb11c1a5001393784 | + | 20 | 1455892245368ebeb11c1a5001393784 | + | 21 | 1455892245368ebeb11c1a5001393784 | + | 22 | 1455892245368ebeb11c1a5001393784 | + | 23 | 1455892245368ebeb11c1a5001393784 | + | 24 | 1455892245368ebeb11c1a5001393784 | + | 25 | 1455892245368ebeb11c1a5001393784 | + | 26 | 1455892245368ebeb11c1a5001393784 | + | 27 | 1455892245368ebeb11c1a5001393784 | + | 28 | 1455892245368ebeb11c1a5001393784 | + | 29 | 1455892245368ebeb11c1a5001393784 | + | 30 | 1455892245368ebeb11c1a5001393784 | + | 31 | 1455892245368ebeb11c1a5001393784 | + | 32 | 1455892245368ebeb11c1a5001393784 | + + #Scenario para la revision del "BUG 15040" donde se comprueba la creacion de nuevos case scheduler en diferentes proyectos BPMN. Scenario Outline: Create a new case scheduler with same name @@ -272,5 +326,4 @@ Scenario Outline: Delete a Project previously created in this script | project_new_uid_number | | 1 | - | 2 | - + | 2 | \ No newline at end of file