diff --git a/features/backend/admin_setup/pm_group/main_tests_pm_group.feature b/features/backend/admin_setup/pm_group/main_tests_pm_group.feature index f59d015ba..96edc657c 100644 --- a/features/backend/admin_setup/pm_group/main_tests_pm_group.feature +++ b/features/backend/admin_setup/pm_group/main_tests_pm_group.feature @@ -106,7 +106,7 @@ Feature: PM Group Main Tests | grp_uid_number | grp_title | grp_status | | 0 | Update Demo Group1 for main behat | INACTIVE | - | 1 | Update Demo Group2 for main behat | INACTIVE | + | 1 | Update Demo Group2 for main behat | ACTIVE | | 2 | Update Demo Group3 for main behat | ACTIVE | @@ -125,7 +125,7 @@ Feature: PM Group Main Tests | grp_uid_number | grp_title | grp_status | | 0 | Update Demo Group1 for main behat | INACTIVE | - | 1 | Update Demo Group2 for main behat | INACTIVE | + | 1 | Update Demo Group2 for main behat | ACTIVE | | 2 | Update Demo Group3 for main behat | ACTIVE | @@ -144,22 +144,11 @@ Feature: PM Group Main Tests Examples: - | grp_uid_number | grp_title | grp_status | - | 2 | Demo Group2 for main behat | INACTIVE | - - + | grp_uid_number | grp_title | grp_status | + | 2 | Update Demo Group2 for main behat | INACTIVE | - - - - - - - - - - + #ASSIGN USER TO GROUP Scenario Outline: Get list Users of workspace using different filters for a group diff --git a/features/backend/application_cases/case_task/main_tests_case_tasks.feature b/features/backend/application_cases/case_task/main_tests_case_tasks.feature index 42241cef6..2ccfafcba 100644 --- a/features/backend/application_cases/case_task/main_tests_case_tasks.feature +++ b/features/backend/application_cases/case_task/main_tests_case_tasks.feature @@ -14,8 +14,14 @@ Scenario: Get list case tasks of case 174 And the content type is "application/json" And the type is "array" And that "tas_uid" is set to "63847491053347e25555c29086425576" - And that "tas_type" is set to "NORMAL" And that "tas_title" is set to "Task 1" + And that "tas_description" is set to "" + And that "tas_start" is set to "1" + And that "tas_type" is set to "NORMAL" + And that "tas_derivation" is set to "NORMAL" + And that "tas_assign_type" is set to "BALANCED" + + And that "rou_type" is set to "0" And that "rou_next_task" is set to "93695356653347e2702ab38033892652" And that "rou_condition" is set to "" diff --git a/features/backend/projects/assignee/main_tests_assignee.feature b/features/backend/projects/assignee/main_tests_assignee.feature index be5cfcc7c..6097e6ba3 100644 --- a/features/backend/projects/assignee/main_tests_assignee.feature +++ b/features/backend/projects/assignee/main_tests_assignee.feature @@ -159,3 +159,66 @@ Scenario Outline: Get a single user or group of an activity And the type is "array" And the response has 4 records + +#BUG 15041 Inactive Groups are display in list of available groups Accounting + +Scenario Outline: BUG 15041 Get the list of available groups + Given I request "project//activity//available-assignee?filter=&start=&limit=" + 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 records + And the "aas_uid" property in row 0 equals "" + And the "aas_type" property in row 0 equals "" + + Examples: + | test_description | project | activity | filter | start | limit | records | aas_uid | aas_type| + | "Accounting" group is available | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | Accounting | 0 | 50 | 1 | 68911670852a22d93c22c06005808422 | group | + + + + +Scenario: BUG 15041 Update Group to disable group + Given PUT this data: + """ + { + "grp_title": "Accounting", + "grp_status": "INACTIVE" + } + """ + And I request "group/54731929352d56741de9d42002704749" + And the content type is "application/json" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "object" + + +Scenario Outline: BUG 15041 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=" + 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 records + And the "aas_uid" property in row 0 equals "" + And the "aas_type" property in row 0 equals "" + + Examples: + | test_description | project | activity | filter | start | limit | records | aas_uid | aas_type| + | "Accounting" group is available | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | Accounting | 0 | 50 | 0 | 68911670852a22d93c22c06005808422 | group | + + +Scenario: BUG 15041 Update Group to enable group + Given PUT this data: + """ + { + "grp_title": "Accounting", + "grp_status": "ACTIVE" + } + """ + And I request "group/54731929352d56741de9d42002704749" + And the content type is "application/json" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "object" \ No newline at end of file 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 50fc5980d..31c68adcc 100644 --- a/features/backend/projects/case_scheduler/main_tests_case_scheduler.feature +++ b/features/backend/projects/case_scheduler/main_tests_case_scheduler.feature @@ -36,7 +36,7 @@ Scenario Outline: Create a 13 case scheduler for a project } """ And I request "project/1265557095225ff5c688f46031700471/case-scheduler" - Then the response status code should be + Then the response status code should be 201 And the response charset is "UTF-8" And the content type is "application/json" And the type is "object" @@ -44,20 +44,20 @@ 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 | error_code | - | Create with Daily | 1 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Daily 123@#$ | 1 | 2014-01-30 | 2014-02-20 | 12:00 | | | | | | | 201 | - | 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 | | | | | | 201 | - | 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 | | | | | | 201 | - | 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 | | | 201 | - | 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 | | | 201 | - | 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 | | 201 | - | 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 | | 201 | - | 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 | | 201 | - | 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 | | 201 | - | 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 | | 201 | - | 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 | | 201 | - | Create with One time only | 12 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-One Time only 678%$@ | 4 | | | 20:00 | | | | | | | 201 | - | Create with Every | 13 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 12.30 | 201 | + | 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 | Scenario: Create a new case scheduler with same name @@ -185,27 +185,64 @@ Scenario Outline: Delete all case scheduler of a project created previously in t -#Scenario para la revision del "BUG 15040" donde se comprueba la creacion de nuevos case scheduler en diferentes proyectos. +#Scenario para la revision del "BUG 15040" donde se comprueba la creacion de nuevos case scheduler en diferentes proyectos BPMN. -Scenario: Create a new case scheduler with same name - Given POST this data: - """ - { - "sch_option": "5", - "sch_name": "Case Scheduler-Every 987&%@", - "sch_del_user_name": "admin", - "tas_uid": "46941969352af5be2ab3f39001216717", - "sch_start_time": "", - "sch_start_date": "", - "sch_end_date": "", - "sch_week_days": "", - "sch_start_day": "", - "sch_start_day_opt_1": "", - "sch_start_day_opt_2": "", - "sch_months": "", - "sch_repeat_every": "12.30" - } - """ - And I request "project/1265557095225ff5c688f46031700471/case-scheduler" - Then the response status code should be 400 - And the response status message should have the following text "Duplicate Case Scheduler name" \ No newline at end of file +#Scenario Outline: Create a new case scheduler with same name +# Given POST this data: +# """ +# { +# "sch_option": "5", +# "sch_name": "sample", +# "sch_del_user_name": "admin", +# "tas_uid": "4790702485368efad167477011123879", +# "sch_start_time": "", +# "sch_start_date": "", +# "sch_end_date": "", +# "sch_week_days": "", +# "sch_start_day": "", +# "sch_start_day_opt_1": "", +# "sch_start_day_opt_2": "", +# "sch_months": "", +# "sch_repeat_every": "12.30" +# } +# """ +# And I request "project/1455892245368ebeb11c1a5001393784/case-scheduler" +# Then the response status code should be 201 +# And the response charset is "UTF-8" +# And the content type is "application/json" +# And the type is "object" +# And store "sch_uid" in session array as variable "sch_uid_" +# +# Examples: +# +# | test_description | sch_uid_number | +# | Create with Daily | 1 | + +Scenario Outline: Create new Projects with event case scheduler + Given POST data from file "" + And I request "projects" + Then the response status code should be 201 + And the response charset is "UTF-8" + And the content type is "application/json" + And the type is "array" + And store "new_uid" in session array as variable "project_new_uid_" where an object has "object" equal to "project" + + Examples: + + | Description | project_new_uid_number | project_template | + | Create a new project with event case scheduler | 1 | project_bug_case_scheduler1.json | + | Create a new project with event case scheduler | 2 | project_bug_case_scheduler2.json | + +Scenario Outline: Delete a Project previously created in this script + Given that I want to delete a resource with the key "new_uid" stored in session array as variable "project_new_uid_" in position 0 + And I request "projects" + And the content type is "application/json" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "object" + + Examples: + + | project_new_uid_number | + | 1 | + | 2 | diff --git a/features/backend/projects/process_permissions/negative_tests_permissions.feature b/features/backend/projects/process_permissions/negative_tests_permissions.feature index 21d30ae04..1fe5bd5f2 100644 --- a/features/backend/projects/process_permissions/negative_tests_permissions.feature +++ b/features/backend/projects/process_permissions/negative_tests_permissions.feature @@ -5,28 +5,27 @@ Feature: Process Permissions Negative tests Given that I have a valid access_token Scenario Outline: Create a new Process Permission with bad parameters (negative tests) - Given POST this data: - """ - { - "op_case_status": "", - "tas_uid": "", - "op_user_relation": "", - "usr_uid": "", - "op_task_source" : "", - "op_participate": "", - "op_obj_type": "", - "dynaforms" : "", - "inputs" : "", - "outputs" : "", - "op_action": "" - } - """ + Given POST this data: + """ + { + "op_case_status": "", + "tas_uid": "", + "op_user_relation": "", + "usr_uid": "", + "op_task_source" : "", + "op_participate": "", + "op_obj_type": "", + "dynaforms" : "", + "inputs" : "", + "outputs" : "", + "op_action": "" + } + """ And I request "project/67021149152e27240dc54d2095572343/process-permission" Then the response status code should be And the response status message should have the following text "" - - Examples: + Examples: | test_description | op_case_status | tas_uid | op_user_relation| usr_uid | op_task_source | op_participate | op_obj_type | dynaforms | inputs | outputs | op_action | error_code | error_message | | Invalid urs_uid | ALL | | 1 | 00000002256780000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW | 400 | user | @@ -38,7 +37,7 @@ Feature: Process Permissions Negative tests | Invalid tas_uid | ALL | 12345678909876543210000000000000 | 1 | 34289569752d5673d310e82094574281 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK | 400 | tas_uid | | Invalid op_task_source | DRAFT | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552000000000000069605623 | 1 | ANY | | | | VIEW | 400 | task | | Inavlid uid Dynaforms | DRAFT | 55416900252e272492318b9024750146 | 1 | 11206717452d5673913aa69053050085 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859000000000000084654094971976 | | | BLOCK | 400 | dynaform | - | Inavlid uid Inputs | ALL | | 1 | 34289569752d5673d310e82094574281 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 35345345346999999999999888888888 | | BLOCK | 400 | inputs | - | Inavlid uid Outputs | DRAFT | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 22424242424242442424242424242424 | VIEW | 400 | outputs | + | Inavlid uid Inputs | ALL | | 1 | 34289569752d5673d310e82094574281 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 35345345346999999999999888888888 | | BLOCK | 400 | inp_uid | + | Inavlid uid Outputs | DRAFT | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 22424242424242442424242424242424 | VIEW | 400 | out_uid | | Invalid op_user_relation | | | | | | | | | | | | 400 | usr_uid | | Invalid op_action | ALL | | 5 | 25286582752d56713231082039265791 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859555852e280acd84654094971976 | | | | 400 | op_user_relation | \ No newline at end of file diff --git a/features/backend/projects/project/main_tests_project_resources.feature b/features/backend/projects/project/main_tests_project_resources.feature index 639b60649..af4aeacb3 100644 --- a/features/backend/projects/project/main_tests_project_resources.feature +++ b/features/backend/projects/project/main_tests_project_resources.feature @@ -727,4 +727,46 @@ Scenario: Get a list of projects 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" \ No newline at end of file + And the type is "array" + + + +#BUG 15088-Al editar el nombre de un proceso este permite ingresar el nombre de uno ya existente +Scenario: Update the Projects by setting the name of an existing project + Given PUT this data: + """ + { + "prj_uid": "5195971265375127fce82f4015927137", + "prj_name": "Process Complete BPMN", + "prj_description": "", + "prj_target_namespace": "", + "prj_expresion_language": "", + "prj_type_language": "", + "prj_exporter": "", + "prj_exporter_version": "", + "prj_create_date": "2014-05-15 15:16:15", + "prj_update_date": "2014-06-09 23:00:34", + "prj_author": "00000000000000000000000000000001", + "prj_author_version": "", + "prj_original_source": "", + "diagrams": [ + { + "dia_uid": "3539627265375127fe1a1d2011478753", + "prj_uid": "5195971265375127fce82f4015927137", + "dia_name": "Export process empty", + "dia_is_closable": 0, + "pro_uid": "2365993365375127fe87052082426765", + "activities": [], + "events": [], + "gateways": [], + "flows": [], + "artifacts": [], + "laneset": [], + "lanes": [] + } + ] + } + """ + And I request "projects/5195971265375127fce82f4015927137" + Then the response status code should be 400 + And the response status message should have the following text "exist" \ No newline at end of file diff --git a/features/backend/projects/project_export_import/negative_tests_project_export_import.feature b/features/backend/projects/project_export_import/negative_tests_project_export_import.feature index 3944408c7..7886a12de 100644 --- a/features/backend/projects/project_export_import/negative_tests_project_export_import.feature +++ b/features/backend/projects/project_export_import/negative_tests_project_export_import.feature @@ -13,7 +13,6 @@ Scenario Outline: Import a process negative tests Examples: | Description | project_file | import_option | error_code | error_message | | Import process when the process alredy exists | /home/wendy/uploadfiles/Process_Complete_BPMN.pmx | create | 400 | already exists | - #| Invalid path | /processmaker/sample/Project_invalido.pmx | create | 400 | invalid | | Field Required project_file | | create | 400 | project_file | diff --git a/features/json/project_bug_case_scheduler1.json b/features/json/project_bug_case_scheduler1.json new file mode 100644 index 000000000..9874c724e --- /dev/null +++ b/features/json/project_bug_case_scheduler1.json @@ -0,0 +1,247 @@ +{ + "prj_uid": "389919491539908f4d28ac3003781865", + "prj_name": "Test Case Scheduler 1", + "prj_description": "", + "prj_target_namespace": "", + "prj_expresion_language": null, + "prj_type_language": null, + "prj_exporter": null, + "prj_exporter_version": null, + "prj_create_date": "2014-06-11 21:57:08", + "prj_update_date": "2014-06-11 22:04:17", + "prj_author": "00000000000000000000000000000001", + "prj_author_version": null, + "prj_original_source": null, + "diagrams": [ + { + "dia_uid": "959471697539908f4defe73070997549", + "prj_uid": "389919491539908f4d28ac3003781865", + "dia_name": "Test Case Scheduler 1", + "dia_is_closable": 0, + "pro_uid": "517734158539908f4e2a880067307827", + "activities": [ + { + "act_uid": "14620112353990aa1793bc9000635862", + "act_name": "Task # 2", + "act_type": "TASK", + "act_is_for_compensation": "0", + "act_start_quantity": "1", + "act_completion_quantity": "0", + "act_task_type": "EMPTY", + "act_implementation": "", + "act_instantiate": "0", + "act_script_type": "", + "act_script": "", + "act_loop_type": "NONE", + "act_test_before": "0", + "act_loop_maximum": "0", + "act_loop_condition": "0", + "act_loop_cardinality": "0", + "act_loop_behavior": "0", + "act_is_adhoc": "0", + "act_is_collapsed": "0", + "act_completion_condition": "0", + "act_ordering": "0", + "act_cancel_remaining_instances": "1", + "act_protocol": "0", + "act_method": "0", + "act_is_global": "0", + "act_referer": "0", + "act_default_flow": "0", + "act_master_diagram": "0", + "bou_x": "687", + "bou_y": "146", + "bou_width": "160", + "bou_height": "40", + "bou_container": "bpmnDiagram" + }, + { + "act_uid": "43564710653990900d9c192059183354", + "act_name": "Task # 1", + "act_type": "TASK", + "act_is_for_compensation": "0", + "act_start_quantity": "1", + "act_completion_quantity": "0", + "act_task_type": "EMPTY", + "act_implementation": "", + "act_instantiate": "0", + "act_script_type": "", + "act_script": "", + "act_loop_type": "NONE", + "act_test_before": "0", + "act_loop_maximum": "0", + "act_loop_condition": "0", + "act_loop_cardinality": "0", + "act_loop_behavior": "0", + "act_is_adhoc": "0", + "act_is_collapsed": "0", + "act_completion_condition": "0", + "act_ordering": "0", + "act_cancel_remaining_instances": "1", + "act_protocol": "0", + "act_method": "0", + "act_is_global": "0", + "act_referer": "0", + "act_default_flow": "0", + "act_master_diagram": "0", + "bou_x": "463", + "bou_y": "146", + "bou_width": "160", + "bou_height": "40", + "bou_container": "bpmnDiagram" + } + ], + "events": [ + { + "evn_uid": "41079638153990aa18d20b7078965871", + "evn_name": "End # 1", + "evn_type": "END", + "evn_marker": "EMPTY", + "evn_is_interrupting": "1", + "evn_cancel_activity": "0", + "evn_activity_ref": null, + "evn_wait_for_completion": "0", + "evn_error_name": null, + "evn_error_code": null, + "evn_escalation_name": null, + "evn_escalation_code": null, + "evn_message": "", + "evn_operation_implementation_ref": null, + "evn_time_date": null, + "evn_time_cycle": null, + "evn_time_duration": null, + "evn_behavior": "THROW", + "evn_operation_name": null, + "bou_x": "933", + "bou_y": "153", + "bou_width": "33", + "bou_height": "33", + "bou_container": "bpmnDiagram" + }, + { + "evn_uid": "85267329953990900f2b458079762625", + "evn_name": "Timer Start Event # 1", + "evn_type": "START", + "evn_marker": "TIMER", + "evn_is_interrupting": "1", + "evn_cancel_activity": "0", + "evn_activity_ref": null, + "evn_wait_for_completion": "0", + "evn_error_name": null, + "evn_error_code": null, + "evn_escalation_name": null, + "evn_escalation_code": null, + "evn_message": "LEAD", + "evn_operation_implementation_ref": null, + "evn_time_date": null, + "evn_time_cycle": null, + "evn_time_duration": null, + "evn_behavior": "CATCH", + "evn_operation_name": null, + "bou_x": "353", + "bou_y": "149", + "bou_width": "33", + "bou_height": "33", + "bou_container": "bpmnDiagram" + } + ], + "gateways": [], + "flows": [ + { + "flo_uid": "60053417353990aa193eea3078529262", + "flo_type": "SEQUENCE", + "flo_name": null, + "flo_element_origin": "14620112353990aa1793bc9000635862", + "flo_element_origin_type": "bpmnActivity", + "flo_element_dest": "41079638153990aa18d20b7078965871", + "flo_element_dest_type": "bpmnEvent", + "flo_is_inmediate": "1", + "flo_condition": null, + "flo_x1": "844", + "flo_y1": "165", + "flo_x2": "928", + "flo_y2": "165", + "flo_state": [ + { + "x": 849, + "y": 166 + }, + { + "x": 891, + "y": 166 + }, + { + "x": 891, + "y": 171 + }, + { + "x": 933, + "y": 171 + } + ] + }, + { + "flo_uid": "6366955205399094d32eaf4099435252", + "flo_type": "SEQUENCE", + "flo_name": null, + "flo_element_origin": "85267329953990900f2b458079762625", + "flo_element_origin_type": "bpmnEvent", + "flo_element_dest": "43564710653990900d9c192059183354", + "flo_element_dest_type": "bpmnActivity", + "flo_is_inmediate": "1", + "flo_condition": null, + "flo_x1": "381", + "flo_y1": "161", + "flo_x2": "457", + "flo_y2": "161", + "flo_state": [ + { + "x": 386, + "y": 166 + }, + { + "x": 424, + "y": 166 + }, + { + "x": 424, + "y": 161 + }, + { + "x": 462, + "y": 161 + } + ] + }, + { + "flo_uid": "95596469053990aa193b429071614085", + "flo_type": "SEQUENCE", + "flo_name": null, + "flo_element_origin": "43564710653990900d9c192059183354", + "flo_element_origin_type": "bpmnActivity", + "flo_element_dest": "14620112353990aa1793bc9000635862", + "flo_element_dest_type": "bpmnActivity", + "flo_is_inmediate": "1", + "flo_condition": null, + "flo_x1": "620", + "flo_y1": "161", + "flo_x2": "681", + "flo_y2": "161", + "flo_state": [ + { + "x": 625, + "y": 166 + }, + { + "x": 686, + "y": 166 + } + ] + } + ], + "artifacts": [], + "laneset": [], + "lanes": [] + } + ] +} \ No newline at end of file diff --git a/features/json/project_bug_case_scheduler2.json b/features/json/project_bug_case_scheduler2.json new file mode 100644 index 000000000..bdf8f6a40 --- /dev/null +++ b/features/json/project_bug_case_scheduler2.json @@ -0,0 +1,247 @@ +{ + "prj_uid": "389919491539908f4d28ac3003781865", + "prj_name": "Test Case Scheduler 2", + "prj_description": "", + "prj_target_namespace": "", + "prj_expresion_language": null, + "prj_type_language": null, + "prj_exporter": null, + "prj_exporter_version": null, + "prj_create_date": "2014-06-11 21:57:08", + "prj_update_date": "2014-06-11 22:04:17", + "prj_author": "00000000000000000000000000000001", + "prj_author_version": null, + "prj_original_source": null, + "diagrams": [ + { + "dia_uid": "959471697539908f4defe73070997549", + "prj_uid": "389919491539908f4d28ac3003781865", + "dia_name": "Test Case Scheduler 1", + "dia_is_closable": 0, + "pro_uid": "517734158539908f4e2a880067307827", + "activities": [ + { + "act_uid": "14620112353990aa1793bc9000635862", + "act_name": "Task # 2", + "act_type": "TASK", + "act_is_for_compensation": "0", + "act_start_quantity": "1", + "act_completion_quantity": "0", + "act_task_type": "EMPTY", + "act_implementation": "", + "act_instantiate": "0", + "act_script_type": "", + "act_script": "", + "act_loop_type": "NONE", + "act_test_before": "0", + "act_loop_maximum": "0", + "act_loop_condition": "0", + "act_loop_cardinality": "0", + "act_loop_behavior": "0", + "act_is_adhoc": "0", + "act_is_collapsed": "0", + "act_completion_condition": "0", + "act_ordering": "0", + "act_cancel_remaining_instances": "1", + "act_protocol": "0", + "act_method": "0", + "act_is_global": "0", + "act_referer": "0", + "act_default_flow": "0", + "act_master_diagram": "0", + "bou_x": "687", + "bou_y": "146", + "bou_width": "160", + "bou_height": "40", + "bou_container": "bpmnDiagram" + }, + { + "act_uid": "43564710653990900d9c192059183354", + "act_name": "Task # 1", + "act_type": "TASK", + "act_is_for_compensation": "0", + "act_start_quantity": "1", + "act_completion_quantity": "0", + "act_task_type": "EMPTY", + "act_implementation": "", + "act_instantiate": "0", + "act_script_type": "", + "act_script": "", + "act_loop_type": "NONE", + "act_test_before": "0", + "act_loop_maximum": "0", + "act_loop_condition": "0", + "act_loop_cardinality": "0", + "act_loop_behavior": "0", + "act_is_adhoc": "0", + "act_is_collapsed": "0", + "act_completion_condition": "0", + "act_ordering": "0", + "act_cancel_remaining_instances": "1", + "act_protocol": "0", + "act_method": "0", + "act_is_global": "0", + "act_referer": "0", + "act_default_flow": "0", + "act_master_diagram": "0", + "bou_x": "463", + "bou_y": "146", + "bou_width": "160", + "bou_height": "40", + "bou_container": "bpmnDiagram" + } + ], + "events": [ + { + "evn_uid": "41079638153990aa18d20b7078965871", + "evn_name": "End # 1", + "evn_type": "END", + "evn_marker": "EMPTY", + "evn_is_interrupting": "1", + "evn_cancel_activity": "0", + "evn_activity_ref": null, + "evn_wait_for_completion": "0", + "evn_error_name": null, + "evn_error_code": null, + "evn_escalation_name": null, + "evn_escalation_code": null, + "evn_message": "", + "evn_operation_implementation_ref": null, + "evn_time_date": null, + "evn_time_cycle": null, + "evn_time_duration": null, + "evn_behavior": "THROW", + "evn_operation_name": null, + "bou_x": "933", + "bou_y": "153", + "bou_width": "33", + "bou_height": "33", + "bou_container": "bpmnDiagram" + }, + { + "evn_uid": "85267329953990900f2b458079762625", + "evn_name": "Timer Start Event # 1", + "evn_type": "START", + "evn_marker": "TIMER", + "evn_is_interrupting": "1", + "evn_cancel_activity": "0", + "evn_activity_ref": null, + "evn_wait_for_completion": "0", + "evn_error_name": null, + "evn_error_code": null, + "evn_escalation_name": null, + "evn_escalation_code": null, + "evn_message": "LEAD", + "evn_operation_implementation_ref": null, + "evn_time_date": null, + "evn_time_cycle": null, + "evn_time_duration": null, + "evn_behavior": "CATCH", + "evn_operation_name": null, + "bou_x": "353", + "bou_y": "149", + "bou_width": "33", + "bou_height": "33", + "bou_container": "bpmnDiagram" + } + ], + "gateways": [], + "flows": [ + { + "flo_uid": "60053417353990aa193eea3078529262", + "flo_type": "SEQUENCE", + "flo_name": null, + "flo_element_origin": "14620112353990aa1793bc9000635862", + "flo_element_origin_type": "bpmnActivity", + "flo_element_dest": "41079638153990aa18d20b7078965871", + "flo_element_dest_type": "bpmnEvent", + "flo_is_inmediate": "1", + "flo_condition": null, + "flo_x1": "844", + "flo_y1": "165", + "flo_x2": "928", + "flo_y2": "165", + "flo_state": [ + { + "x": 849, + "y": 166 + }, + { + "x": 891, + "y": 166 + }, + { + "x": 891, + "y": 171 + }, + { + "x": 933, + "y": 171 + } + ] + }, + { + "flo_uid": "6366955205399094d32eaf4099435252", + "flo_type": "SEQUENCE", + "flo_name": null, + "flo_element_origin": "85267329953990900f2b458079762625", + "flo_element_origin_type": "bpmnEvent", + "flo_element_dest": "43564710653990900d9c192059183354", + "flo_element_dest_type": "bpmnActivity", + "flo_is_inmediate": "1", + "flo_condition": null, + "flo_x1": "381", + "flo_y1": "161", + "flo_x2": "457", + "flo_y2": "161", + "flo_state": [ + { + "x": 386, + "y": 166 + }, + { + "x": 424, + "y": 166 + }, + { + "x": 424, + "y": 161 + }, + { + "x": 462, + "y": 161 + } + ] + }, + { + "flo_uid": "95596469053990aa193b429071614085", + "flo_type": "SEQUENCE", + "flo_name": null, + "flo_element_origin": "43564710653990900d9c192059183354", + "flo_element_origin_type": "bpmnActivity", + "flo_element_dest": "14620112353990aa1793bc9000635862", + "flo_element_dest_type": "bpmnActivity", + "flo_is_inmediate": "1", + "flo_condition": null, + "flo_x1": "620", + "flo_y1": "161", + "flo_x2": "681", + "flo_y2": "161", + "flo_state": [ + { + "x": 625, + "y": 166 + }, + { + "x": 686, + "y": 166 + } + ] + } + ], + "artifacts": [], + "laneset": [], + "lanes": [] + } + ] +} \ No newline at end of file