Merged in wnestor/processmaker (pull request #779)
Adicion de nuevos escenarios para prueba en procesos .pmx, para los features project user, trigger wizard, triggers, variables, process permission, process supervisor y process
This commit is contained in:
@@ -3,15 +3,21 @@ Feature: Process Permissions Resources Tests
|
||||
Requirements:
|
||||
a workspace with the process 67021149152e27240dc54d2095572343 ("Test Process Permissions") already loaded
|
||||
there are zero Process Permissions 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 a List of current Process Permissions of a project
|
||||
Given I request "project/67021149152e27240dc54d2095572343/process-permissions"
|
||||
Scenario Outline: Get a List of current Process Permissions of a project
|
||||
Given I request "project/<project>/process-permissions"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the response has 0 record
|
||||
And the response has <record> record
|
||||
|
||||
Examples:
|
||||
| test_description | project | record |
|
||||
| List process permissions of the process "Test Process Permissions" | 67021149152e27240dc54d2095572343 | 0 |
|
||||
| List process permissions of the process "Process Complete BPMN" | 1455892245368ebeb11c1a5001393784 | 1 |
|
||||
|
||||
|
||||
Scenario Outline: Create a new Process permission
|
||||
@@ -31,60 +37,95 @@ Feature: Process Permissions Resources Tests
|
||||
"op_action": "<op_action>"
|
||||
}
|
||||
"""
|
||||
And I request "project/67021149152e27240dc54d2095572343/process-permission"
|
||||
And I request "project/<project>/process-permission"
|
||||
Then the response status code should be 201
|
||||
And store "op_uid" in session array
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
And store "op_uid" in session array as variable "op_uid_<op_number>"
|
||||
|
||||
Examples:
|
||||
Examples:
|
||||
|
||||
| test_description | op_number | op_case_status | tas_uid | op_user_relation| usr_uid | op_task_source | op_participate | op_obj_type | dynaforms | inputs | outputs | op_action |
|
||||
| Create with Status Case All and type All in task 1 | 1 | ALL | | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case All and type Dynaform in task 1 | 2 | ALL | | 1 | 25286582752d56713231082039265791 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859555852e280acd84654094971976 | | | BLOCK |
|
||||
| Create with Status Case All and type Input in task 1 | 3 | ALL | | 2 | 54731929352d56741de9d42002704749 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 52547398752e28118ab06a3068272571 | | BLOCK |
|
||||
| Create with Status Case All and type Output in task 1 | 4 | ALL | | 1 | 32444503652d5671778fd20059078570 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56569355852e28145a16ec7038754814 | BLOCK |
|
||||
| Create with Status Case All and type Case Note in task 1 | 5 | ALL | | 1 | 16333273052d567284e6766029512960 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case All and type Messages in task 1 | 6 | ALL | | 1 | 34289569752d5673d310e82094574281 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case Draft and type All in task 2 | 7 | DRAFT | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case Draft and type Dynaform in task 2 | 8 | DRAFT | 55416900252e272492318b9024750146 | 1 | 11206717452d5673913aa69053050085 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859555852e280acd84654094971976 | | | BLOCK |
|
||||
| Create with Status Case Draft and type Input in task 2 | 9 | DRAFT | 55416900252e272492318b9024750146 | 2 | 21092802152d569a2e32b18087204577 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 52547398752e28118ab06a3068272571 | | BLOCK |
|
||||
| Create with Status Case Draft and type Output in task 2 | 10 | DRAFT | 55416900252e272492318b9024750146 | 1 | 14093514252d56720bff5b4038518272 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56569355852e28145a16ec7038754814 | BLOCK |
|
||||
| Create with Status Case Draft and type Case Note in task 2 | 11 | DRAFT | 55416900252e272492318b9024750146 | 1 | 19834612352d5673c73ea89076646062 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case Draft and type Messages in task 2 | 12 | DRAFT | 55416900252e272492318b9024750146 | 2 | 89064231952d567452ea008014804965 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case To Do and type All in task 1 | 13 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case To Do and type Dynaform in task 1 | 14 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 36116269152d56733b20e86062657385 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859555852e280acd84654094971976 | | | BLOCK |
|
||||
| Create with Status Case To Do and type Input in task 1 | 15 | TO_DO | 36792129552e27247a483f6069605623 | 2 | 66623507552d56742865613066097298 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 52547398752e28118ab06a3068272571 | | BLOCK |
|
||||
| Create with Status Case To Do and type Output in task 1 | 16 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 38102442252d5671a629009013495090 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56569355852e28145a16ec7038754814 | BLOCK |
|
||||
| Create with Status Case To Do and type Case Note in task 1 | 17 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 44114647252d567264eb9e4061647705 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case To Do and type Messages in task 1 | 18 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 44811996752d567110634a1013636964 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case Paused and type All in task 2 | 19 | PAUSED | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case Paused and type Dynaform in task 2 | 20 | PAUSED | 55416900252e272492318b9024750146 | 1 | 50011635952d5673246a575079973262 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 51960945752e280ce802ce7007126361 | | | BLOCK |
|
||||
| Create with Status Case Paused and type Input in task 2 | 21 | PAUSED | 55416900252e272492318b9024750146 | 2 | 81572528952d5673de56fa9048605800 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 61273332352e28125254f97072882826 | | BLOCK |
|
||||
| Create with Status Case Paused and type Output in task 2 | 22 | PAUSED | 55416900252e272492318b9024750146 | 1 | 50562411252d5671e788c02016273245 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56977080352e281696ead88064880692 | BLOCK |
|
||||
| Create with Status Case Paused and type Case Note in task 2 | 23 | PAUSED | 55416900252e272492318b9024750146 | 1 | 50912153352d5673b0b7e42000221953 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case Paused and type Messages in task 2 | 24 | PAUSED | 55416900252e272492318b9024750146 | 2 | 13028697852d5674745cb64005883338 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case Completed and type All in task 3 | 25 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 00000000000000000000000000000001 | 55416900252e272492318b9024750146 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case Completed and type Dynaform in task 3 | 26 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 62511352152d5673bba9cd4062743508 | 55416900252e272492318b9024750146 | 1 | DYNAFORM | 51960945752e280ce802ce7007126361 | | | BLOCK |
|
||||
| Create with Status Case Completed and type Input in task 3 | 27 | COMPLETED | 64296230152e2724a8b3589070508795 | 2 | 46520967652d56747f384f5069459364 | 55416900252e272492318b9024750146 | 0 | INPUT | | 61273332352e28125254f97072882826 | | BLOCK |
|
||||
| Create with Status Case Completed and type Output in task 3 | 28 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 69125570352d56720061f83026430750 | 55416900252e272492318b9024750146 | 1 | OUTPUT | | | 56977080352e281696ead88064880692 | BLOCK |
|
||||
| Create with Status Case Completed and type Case Note in task 3 | 29 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 69578334752d5672aabb946025792134 | 55416900252e272492318b9024750146 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case Completed and type Messages in task 3 | 30 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 73005191052d56727901138030694610 | 55416900252e272492318b9024750146 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| test_description | op_number | project | op_case_status | tas_uid | op_user_relation | usr_uid | op_task_source | op_participate | op_obj_type | dynaforms | inputs | outputs | op_action |
|
||||
| Create with Status Case All and type All in task 1 .pm | 1 | 67021149152e27240dc54d2095572343 | ALL | | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case All and type Dynaform in task 1 .pm | 2 | 67021149152e27240dc54d2095572343 | ALL | | 1 | 25286582752d56713231082039265791 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859555852e280acd84654094971976 | | | BLOCK |
|
||||
| Create with Status Case All and type Input in task 1 .pm | 3 | 67021149152e27240dc54d2095572343 | ALL | | 2 | 54731929352d56741de9d42002704749 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 52547398752e28118ab06a3068272571 | | BLOCK |
|
||||
| Create with Status Case All and type Output in task 1 .pm | 4 | 67021149152e27240dc54d2095572343 | ALL | | 1 | 32444503652d5671778fd20059078570 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56569355852e28145a16ec7038754814 | BLOCK |
|
||||
| Create with Status Case All and type Case Note in task 1 .pm | 5 | 67021149152e27240dc54d2095572343 | ALL | | 1 | 16333273052d567284e6766029512960 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case All and type Messages in task 1 .pm | 6 | 67021149152e27240dc54d2095572343 | ALL | | 1 | 34289569752d5673d310e82094574281 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case Draft and type All in task 2 .pm | 7 | 67021149152e27240dc54d2095572343 | DRAFT | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case Draft and type Dynaform in task 2 .pm | 8 | 67021149152e27240dc54d2095572343 | DRAFT | 55416900252e272492318b9024750146 | 1 | 11206717452d5673913aa69053050085 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859555852e280acd84654094971976 | | | BLOCK |
|
||||
| Create with Status Case Draft and type Input in task 2 .pm | 9 | 67021149152e27240dc54d2095572343 | DRAFT | 55416900252e272492318b9024750146 | 2 | 21092802152d569a2e32b18087204577 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 52547398752e28118ab06a3068272571 | | BLOCK |
|
||||
| Create with Status Case Draft and type Output in task 2 .pm | 10 | 67021149152e27240dc54d2095572343 | DRAFT | 55416900252e272492318b9024750146 | 1 | 14093514252d56720bff5b4038518272 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56569355852e28145a16ec7038754814 | BLOCK |
|
||||
| Create with Status Case Draft and type Case Note in task 2 .pm | 11 | 67021149152e27240dc54d2095572343 | DRAFT | 55416900252e272492318b9024750146 | 1 | 19834612352d5673c73ea89076646062 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case Draft and type Messages in task 2 .pm | 12 | 67021149152e27240dc54d2095572343 | DRAFT | 55416900252e272492318b9024750146 | 2 | 89064231952d567452ea008014804965 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case To Do and type All in task 1 .pm | 13 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case To Do and type Dynaform in task 1 .pm | 14 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 36116269152d56733b20e86062657385 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859555852e280acd84654094971976 | | | BLOCK |
|
||||
| Create with Status Case To Do and type Input in task 1 .pm | 15 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 2 | 66623507552d56742865613066097298 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 52547398752e28118ab06a3068272571 | | BLOCK |
|
||||
| Create with Status Case To Do and type Output in task 1 .pm | 16 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 38102442252d5671a629009013495090 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56569355852e28145a16ec7038754814 | BLOCK |
|
||||
| Create with Status Case To Do and type Case Note in task 1 .pm | 17 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 44114647252d567264eb9e4061647705 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case To Do and type Messages in task 1 .pm | 18 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 44811996752d567110634a1013636964 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case Paused and type All in task 2 .pm | 19 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case Paused and type Dynaform in task 2 .pm | 20 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 1 | 50011635952d5673246a575079973262 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 51960945752e280ce802ce7007126361 | | | BLOCK |
|
||||
| Create with Status Case Paused and type Input in task 2 .pm | 21 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 2 | 81572528952d5673de56fa9048605800 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 61273332352e28125254f97072882826 | | BLOCK |
|
||||
| Create with Status Case Paused and type Output in task 2 .pm | 22 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 1 | 50562411252d5671e788c02016273245 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56977080352e281696ead88064880692 | BLOCK |
|
||||
| Create with Status Case Paused and type Case Note in task 2 .pm | 23 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 1 | 50912153352d5673b0b7e42000221953 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case Paused and type Messages in task 2 .pm | 24 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 2 | 13028697852d5674745cb64005883338 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case Completed and type All in task 3 .pm | 25 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 00000000000000000000000000000001 | 55416900252e272492318b9024750146 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case Completed and type Dynaform in task 3 .pm | 26 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 62511352152d5673bba9cd4062743508 | 55416900252e272492318b9024750146 | 1 | DYNAFORM | 51960945752e280ce802ce7007126361 | | | BLOCK |
|
||||
| Create with Status Case Completed and type Input in task 3 .pm | 27 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 2 | 46520967652d56747f384f5069459364 | 55416900252e272492318b9024750146 | 0 | INPUT | | 61273332352e28125254f97072882826 | | BLOCK |
|
||||
| Create with Status Case Completed and type Output in task 3 .pm | 28 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 69125570352d56720061f83026430750 | 55416900252e272492318b9024750146 | 1 | OUTPUT | | | 56977080352e281696ead88064880692 | BLOCK |
|
||||
| Create with Status Case Completed and type Case Note in task 3 .pm | 29 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 69578334752d5672aabb946025792134 | 55416900252e272492318b9024750146 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case Completed and type Messages in task 3 .pm | 30 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 73005191052d56727901138030694610 | 55416900252e272492318b9024750146 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case All and type All in task 1 .pmx | 31 | 1455892245368ebeb11c1a5001393784 | ALL | | 1 | 00000000000000000000000000000001 | 6274755055368eed1116388064384542 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case All and type Dynaform in task 1 .pmx | 32 | 1455892245368ebeb11c1a5001393784 | ALL | | 1 | 25286582752d56713231082039265791 | 6274755055368eed1116388064384542 | 1 | DYNAFORM | 741536563536be333155026003350943 | | | BLOCK |
|
||||
| Create with Status Case All and type Input in task 1 .pmx | 33 | 1455892245368ebeb11c1a5001393784 | ALL | | 2 | 54731929352d56741de9d42002704749 | 6274755055368eed1116388064384542 | 0 | INPUT | | 880391746536be961e594e7014524130 | | BLOCK |
|
||||
| Create with Status Case All and type Output in task 1 .pmx | 34 | 1455892245368ebeb11c1a5001393784 | ALL | | 1 | 32444503652d5671778fd20059078570 | 6274755055368eed1116388064384542 | 1 | OUTPUT | | | 218529141536be955f0b646092366402 | BLOCK |
|
||||
| Create with Status Case All and type Case Note in task 1 .pmx | 35 | 1455892245368ebeb11c1a5001393784 | ALL | | 1 | 16333273052d567284e6766029512960 | 6274755055368eed1116388064384542 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case All and type Messages in task 1 .pmx | 36 | 1455892245368ebeb11c1a5001393784 | ALL | | 1 | 34289569752d5673d310e82094574281 | 6274755055368eed1116388064384542 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case Draft and type All in task 2 .pmx | 37 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 1 | 00000000000000000000000000000001 | 6274755055368eed1116388064384542 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case Draft and type Dynaform in task 2 .pmx | 38 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 1 | 11206717452d5673913aa69053050085 | 6274755055368eed1116388064384542 | 1 | DYNAFORM | 741536563536be333155026003350943 | | | BLOCK |
|
||||
| Create with Status Case Draft and type Input in task 2 .pmx | 39 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 2 | 21092802152d569a2e32b18087204577 | 6274755055368eed1116388064384542 | 0 | INPUT | | 880391746536be961e594e7014524130 | | BLOCK |
|
||||
| Create with Status Case Draft and type Output in task 2 .pmx | 40 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 1 | 14093514252d56720bff5b4038518272 | 6274755055368eed1116388064384542 | 1 | OUTPUT | | | 218529141536be955f0b646092366402 | BLOCK |
|
||||
| Create with Status Case Draft and type Case Note in task 2 .pmx | 41 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 1 | 19834612352d5673c73ea89076646062 | 6274755055368eed1116388064384542 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case Draft and type Messages in task 2 .pmx | 42 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 2 | 89064231952d567452ea008014804965 | 6274755055368eed1116388064384542 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case To Do and type All in task 1 .pmx | 43 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 1 | 00000000000000000000000000000001 | 6274755055368eed1116388064384542 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case To Do and type Dynaform in task 1 .pmx | 44 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 1 | 36116269152d56733b20e86062657385 | 6274755055368eed1116388064384542 | 1 | DYNAFORM | 741536563536be333155026003350943 | | | BLOCK |
|
||||
| Create with Status Case To Do and type Input in task 1 .pmx | 45 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 2 | 66623507552d56742865613066097298 | 6274755055368eed1116388064384542 | 0 | INPUT | | 880391746536be961e594e7014524130 | | BLOCK |
|
||||
| Create with Status Case To Do and type Output in task 1 .pmx | 46 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 1 | 38102442252d5671a629009013495090 | 6274755055368eed1116388064384542 | 1 | OUTPUT | | | 218529141536be955f0b646092366402 | BLOCK |
|
||||
| Create with Status Case To Do and type Case Note in task 1 .pmx | 47 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 1 | 44114647252d567264eb9e4061647705 | 6274755055368eed1116388064384542 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case To Do and type Messages in task 1 .pmx | 48 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 1 | 44811996752d567110634a1013636964 | 6274755055368eed1116388064384542 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case Paused and type All in task 2 .pmx | 49 | 1455892245368ebeb11c1a5001393784 | PAUSED | 4790702485368efad167477011123879 | 1 | 00000000000000000000000000000001 | 6274755055368eed1116388064384542 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case Paused and type Dynaform in task 2 .pmx | 50 | 1455892245368ebeb11c1a5001393784 | PAUSED | 4790702485368efad167477011123879 | 1 | 50011635952d5673246a575079973262 | 6274755055368eed1116388064384542 | 1 | DYNAFORM | 898822326536be3a12addb0034537553 | | | BLOCK |
|
||||
| Create with Status Case Paused and type Input in task 2 .pmx | 51 | 1455892245368ebeb11c1a5001393784 | PAUSED | 4790702485368efad167477011123879 | 2 | 81572528952d5673de56fa9048605800 | 6274755055368eed1116388064384542 | 0 | INPUT | | 880391746536be961e594e7014524130 | | BLOCK |
|
||||
| Create with Status Case Paused and type Output in task 2 .pmx | 52 | 1455892245368ebeb11c1a5001393784 | PAUSED | 4790702485368efad167477011123879 | 1 | 50562411252d5671e788c02016273245 | 6274755055368eed1116388064384542 | 1 | OUTPUT | | | 218529141536be955f0b646092366402 | BLOCK |
|
||||
| Create with Status Case Paused and type Case Note in task 2 .pmx | 53 | 1455892245368ebeb11c1a5001393784 | PAUSED | 4790702485368efad167477011123879 | 1 | 50912153352d5673b0b7e42000221953 | 6274755055368eed1116388064384542 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case Paused and type Messages in task 2 .pmx | 54 | 1455892245368ebeb11c1a5001393784 | PAUSED | 4790702485368efad167477011123879 | 2 | 13028697852d5674745cb64005883338 | 6274755055368eed1116388064384542 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case Completed and type All in task 3 .pmx | 55 | 1455892245368ebeb11c1a5001393784 | COMPLETED | 2072984565368efc137a394001073529 | 1 | 00000000000000000000000000000001 | 4790702485368efad167477011123879 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case Completed and type Dynaform in task 3 .pmx | 56 | 1455892245368ebeb11c1a5001393784 | COMPLETED | 2072984565368efc137a394001073529 | 1 | 62511352152d5673bba9cd4062743508 | 4790702485368efad167477011123879 | 1 | DYNAFORM | 898822326536be3a12addb0034537553 | | | BLOCK |
|
||||
| Create with Status Case Completed and type Input in task 3 .pmx | 57 | 1455892245368ebeb11c1a5001393784 | COMPLETED | 2072984565368efc137a394001073529 | 2 | 46520967652d56747f384f5069459364 | 4790702485368efad167477011123879 | 0 | INPUT | | 880391746536be961e594e7014524130 | | BLOCK |
|
||||
| Create with Status Case Completed and type Output in task 3 .pmx | 58 | 1455892245368ebeb11c1a5001393784 | COMPLETED | 2072984565368efc137a394001073529 | 1 | 69125570352d56720061f83026430750 | 4790702485368efad167477011123879 | 1 | OUTPUT | | | 218529141536be955f0b646092366402 | BLOCK |
|
||||
| Create with Status Case Completed and type Case Note in task 3 .pmx | 59 | 1455892245368ebeb11c1a5001393784 | COMPLETED | 2072984565368efc137a394001073529 | 1 | 69578334752d5672aabb946025792134 | 4790702485368efad167477011123879 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case Completed and type Messages in task 3 .pmx | 60 | 1455892245368ebeb11c1a5001393784 | COMPLETED | 2072984565368efc137a394001073529 | 1 | 73005191052d56727901138030694610 | 4790702485368efad167477011123879 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
|
||||
|
||||
|
||||
Scenario: Get a List of current Process Permissions of a project when there are exactly 30 Process Permissions
|
||||
Given I request "project/67021149152e27240dc54d2095572343/process-permissions"
|
||||
Scenario Outline: Get a List of current Process Permissions of a project when there are exactly 30 Process Permissions
|
||||
Given I request "project/<project>/process-permissions"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the response has 30 records
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| List process permissions of the process "Test Process Permissions" | 67021149152e27240dc54d2095572343 | 30 |
|
||||
| List process permissions of the process "Process Complete BPMN" | 1455892245368ebeb11c1a5001393784 | 31 |
|
||||
|
||||
|
||||
Scenario Outline: Get a Single Process Permissions of a project when the Process Permissions is previously created
|
||||
|
||||
Given that I want to get a resource with the key "op_uid" stored in session array as variable "op_uid_<op_number>"
|
||||
And I request "project/67021149152e27240dc54d2095572343/process-permission"
|
||||
And I request "project/<project>/process-permission"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
@@ -93,39 +134,69 @@ Feature: Process Permissions Resources Tests
|
||||
And the "op_user_relation" property equals "<op_user_relation>"
|
||||
And the "op_obj_type" property equals "<op_obj_type>"
|
||||
|
||||
Examples:
|
||||
Examples:
|
||||
|
||||
| test_description | op_number | op_case_status | tas_uid | op_user_relation| usr_uid | op_task_source | op_participate | op_obj_type | dynaforms | inputs | outputs | op_action |
|
||||
| Create with Status Case All and type All in task 1 | 1 | ALL | | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case All and type Dynaform in task 1 | 2 | ALL | | 1 | 25286582752d56713231082039265791 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859555852e280acd84654094971976 | | | BLOCK |
|
||||
| Create with Status Case All and type Input in task 1 | 3 | ALL | | 2 | 54731929352d56741de9d42002704749 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 52547398752e28118ab06a3068272571 | | BLOCK |
|
||||
| Create with Status Case All and type Output in task 1 | 4 | ALL | | 1 | 32444503652d5671778fd20059078570 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56569355852e28145a16ec7038754814 | BLOCK |
|
||||
| Create with Status Case All and type Case Note in task 1 | 5 | ALL | | 1 | 16333273052d567284e6766029512960 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case All and type Messages in task 1 | 6 | ALL | | 1 | 34289569752d5673d310e82094574281 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case Draft and type All in task 2 | 7 | DRAFT | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case Draft and type Dynaform in task 2 | 8 | DRAFT | 55416900252e272492318b9024750146 | 1 | 11206717452d5673913aa69053050085 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859555852e280acd84654094971976 | | | BLOCK |
|
||||
| Create with Status Case Draft and type Input in task 2 | 9 | DRAFT | 55416900252e272492318b9024750146 | 2 | 21092802152d569a2e32b18087204577 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 52547398752e28118ab06a3068272571 | | BLOCK |
|
||||
| Create with Status Case Draft and type Output in task 2 | 10 | DRAFT | 55416900252e272492318b9024750146 | 1 | 14093514252d56720bff5b4038518272 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56569355852e28145a16ec7038754814 | BLOCK |
|
||||
| Create with Status Case Draft and type Case Note in task 2 | 11 | DRAFT | 55416900252e272492318b9024750146 | 1 | 19834612352d5673c73ea89076646062 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case Draft and type Messages in task 2 | 12 | DRAFT | 55416900252e272492318b9024750146 | 2 | 89064231952d567452ea008014804965 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case To Do and type All in task 1 | 13 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case To Do and type Dynaform in task 1 | 14 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 36116269152d56733b20e86062657385 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859555852e280acd84654094971976 | | | BLOCK |
|
||||
| Create with Status Case To Do and type Input in task 1 | 15 | TO_DO | 36792129552e27247a483f6069605623 | 2 | 66623507552d56742865613066097298 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 52547398752e28118ab06a3068272571 | | BLOCK |
|
||||
| Create with Status Case To Do and type Output in task 1 | 16 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 38102442252d5671a629009013495090 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56569355852e28145a16ec7038754814 | BLOCK |
|
||||
| Create with Status Case To Do and type Case Note in task 1 | 17 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 44114647252d567264eb9e4061647705 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case To Do and type Messages in task 1 | 18 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 44811996752d567110634a1013636964 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case Paused and type All in task 2 | 19 | PAUSED | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case Paused and type Dynaform in task 2 | 20 | PAUSED | 55416900252e272492318b9024750146 | 1 | 50011635952d5673246a575079973262 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 51960945752e280ce802ce7007126361 | | | BLOCK |
|
||||
| Create with Status Case Paused and type Input in task 2 | 21 | PAUSED | 55416900252e272492318b9024750146 | 2 | 81572528952d5673de56fa9048605800 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 61273332352e28125254f97072882826 | | BLOCK |
|
||||
| Create with Status Case Paused and type Output in task 2 | 22 | PAUSED | 55416900252e272492318b9024750146 | 1 | 50562411252d5671e788c02016273245 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56977080352e281696ead88064880692 | BLOCK |
|
||||
| Create with Status Case Paused and type Case Note in task 2 | 23 | PAUSED | 55416900252e272492318b9024750146 | 1 | 50912153352d5673b0b7e42000221953 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case Paused and type Messages in task 2 | 24 | PAUSED | 55416900252e272492318b9024750146 | 2 | 13028697852d5674745cb64005883338 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Create with Status Case Completed and type All in task 3 | 25 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 00000000000000000000000000000001 | 55416900252e272492318b9024750146 | 1 | ANY | | | | VIEW |
|
||||
| Create with Status Case Completed and type Dynaform in task 3 | 26 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 62511352152d5673bba9cd4062743508 | 55416900252e272492318b9024750146 | 1 | DYNAFORM | 51960945752e280ce802ce7007126361 | | | BLOCK |
|
||||
| Create with Status Case Completed and type Input in task 3 | 27 | COMPLETED | 64296230152e2724a8b3589070508795 | 2 | 46520967652d56747f384f5069459364 | 55416900252e272492318b9024750146 | 0 | INPUT | | 61273332352e28125254f97072882826 | | BLOCK |
|
||||
| Create with Status Case Completed and type Output in task 3 | 28 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 69125570352d56720061f83026430750 | 55416900252e272492318b9024750146 | 1 | OUTPUT | | | 56977080352e281696ead88064880692 | BLOCK |
|
||||
| Create with Status Case Completed and type Case Note in task 3 | 29 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 69578334752d5672aabb946025792134 | 55416900252e272492318b9024750146 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Create with Status Case Completed and type Messages in task 3 | 30 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 73005191052d56727901138030694610 | 55416900252e272492318b9024750146 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| test_description | op_number | project | op_case_status | tas_uid | op_user_relation | usr_uid | op_task_source | op_participate | op_obj_type | dynaforms | inputs | outputs | op_action |
|
||||
| Get with Status Case All and type All in task 1 .pm | 1 | 67021149152e27240dc54d2095572343 | ALL | | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Get with Status Case All and type Dynaform in task 1 .pm | 2 | 67021149152e27240dc54d2095572343 | ALL | | 1 | 25286582752d56713231082039265791 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859555852e280acd84654094971976 | | | BLOCK |
|
||||
| Get with Status Case All and type Input in task 1 .pm | 3 | 67021149152e27240dc54d2095572343 | ALL | | 2 | 54731929352d56741de9d42002704749 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 52547398752e28118ab06a3068272571 | | BLOCK |
|
||||
| Get with Status Case All and type Output in task 1 .pm | 4 | 67021149152e27240dc54d2095572343 | ALL | | 1 | 32444503652d5671778fd20059078570 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56569355852e28145a16ec7038754814 | BLOCK |
|
||||
| Get with Status Case All and type Case Note in task 1 .pm | 5 | 67021149152e27240dc54d2095572343 | ALL | | 1 | 16333273052d567284e6766029512960 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Get with Status Case All and type Messages in task 1 .pm | 6 | 67021149152e27240dc54d2095572343 | ALL | | 1 | 34289569752d5673d310e82094574281 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Get with Status Case Draft and type All in task 2 .pm | 7 | 67021149152e27240dc54d2095572343 | DRAFT | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Get with Status Case Draft and type Dynaform in task 2 .pm | 8 | 67021149152e27240dc54d2095572343 | DRAFT | 55416900252e272492318b9024750146 | 1 | 11206717452d5673913aa69053050085 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859555852e280acd84654094971976 | | | BLOCK |
|
||||
| Get with Status Case Draft and type Input in task 2 .pm | 9 | 67021149152e27240dc54d2095572343 | DRAFT | 55416900252e272492318b9024750146 | 2 | 21092802152d569a2e32b18087204577 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 52547398752e28118ab06a3068272571 | | BLOCK |
|
||||
| Get with Status Case Draft and type Output in task 2 .pm | 10 | 67021149152e27240dc54d2095572343 | DRAFT | 55416900252e272492318b9024750146 | 1 | 14093514252d56720bff5b4038518272 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56569355852e28145a16ec7038754814 | BLOCK |
|
||||
| Get with Status Case Draft and type Case Note in task 2 .pm | 11 | 67021149152e27240dc54d2095572343 | DRAFT | 55416900252e272492318b9024750146 | 1 | 19834612352d5673c73ea89076646062 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Get with Status Case Draft and type Messages in task 2 .pm | 12 | 67021149152e27240dc54d2095572343 | DRAFT | 55416900252e272492318b9024750146 | 2 | 89064231952d567452ea008014804965 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Get with Status Case To Do and type All in task 1 .pm | 13 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Get with Status Case To Do and type Dynaform in task 1 .pm | 14 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 36116269152d56733b20e86062657385 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 86859555852e280acd84654094971976 | | | BLOCK |
|
||||
| Get with Status Case To Do and type Input in task 1 .pm | 15 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 2 | 66623507552d56742865613066097298 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 52547398752e28118ab06a3068272571 | | BLOCK |
|
||||
| Get with Status Case To Do and type Output in task 1 .pm | 16 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 38102442252d5671a629009013495090 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56569355852e28145a16ec7038754814 | BLOCK |
|
||||
| Get with Status Case To Do and type Case Note in task 1 .pm | 17 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 44114647252d567264eb9e4061647705 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Get with Status Case To Do and type Messages in task 1 .pm | 18 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 44811996752d567110634a1013636964 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Get with Status Case Paused and type All in task 2 .pm | 19 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | | | | VIEW |
|
||||
| Get with Status Case Paused and type Dynaform in task 2 .pm | 20 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 1 | 50011635952d5673246a575079973262 | 36792129552e27247a483f6069605623 | 1 | DYNAFORM | 51960945752e280ce802ce7007126361 | | | BLOCK |
|
||||
| Get with Status Case Paused and type Input in task 2 .pm | 21 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 2 | 81572528952d5673de56fa9048605800 | 36792129552e27247a483f6069605623 | 0 | INPUT | | 61273332352e28125254f97072882826 | | BLOCK |
|
||||
| Get with Status Case Paused and type Output in task 2 .pm | 22 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 1 | 50562411252d5671e788c02016273245 | 36792129552e27247a483f6069605623 | 1 | OUTPUT | | | 56977080352e281696ead88064880692 | BLOCK |
|
||||
| Get with Status Case Paused and type Case Note in task 2 .pm | 23 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 1 | 50912153352d5673b0b7e42000221953 | 36792129552e27247a483f6069605623 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Get with Status Case Paused and type Messages in task 2 .pm | 24 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 2 | 13028697852d5674745cb64005883338 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Get with Status Case Completed and type All in task 3 .pm | 25 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 00000000000000000000000000000001 | 55416900252e272492318b9024750146 | 1 | ANY | | | | VIEW |
|
||||
| Get with Status Case Completed and type Dynaform in task 3 .pm | 26 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 62511352152d5673bba9cd4062743508 | 55416900252e272492318b9024750146 | 1 | DYNAFORM | 51960945752e280ce802ce7007126361 | | | BLOCK |
|
||||
| Get with Status Case Completed and type Input in task 3 .pm | 27 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 2 | 46520967652d56747f384f5069459364 | 55416900252e272492318b9024750146 | 0 | INPUT | | 61273332352e28125254f97072882826 | | BLOCK |
|
||||
| Get with Status Case Completed and type Output in task 3 .pm | 28 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 69125570352d56720061f83026430750 | 55416900252e272492318b9024750146 | 1 | OUTPUT | | | 56977080352e281696ead88064880692 | BLOCK |
|
||||
| Get with Status Case Completed and type Case Note in task 3 .pm | 29 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 69578334752d5672aabb946025792134 | 55416900252e272492318b9024750146 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Get with Status Case Completed and type Messages in task 3 .pm | 30 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 73005191052d56727901138030694610 | 55416900252e272492318b9024750146 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Get with Status Case All and type All in task 1 .pmx | 31 | 1455892245368ebeb11c1a5001393784 | ALL | | 1 | 00000000000000000000000000000001 | 6274755055368eed1116388064384542 | 1 | ANY | | | | VIEW |
|
||||
| Get with Status Case All and type Dynaform in task 1 .pmx | 32 | 1455892245368ebeb11c1a5001393784 | ALL | | 1 | 25286582752d56713231082039265791 | 6274755055368eed1116388064384542 | 1 | DYNAFORM | 741536563536be333155026003350943 | | | BLOCK |
|
||||
| Get with Status Case All and type Input in task 1 .pmx | 33 | 1455892245368ebeb11c1a5001393784 | ALL | | 2 | 54731929352d56741de9d42002704749 | 6274755055368eed1116388064384542 | 0 | INPUT | | 880391746536be961e594e7014524130 | | BLOCK |
|
||||
| Get with Status Case All and type Output in task 1 .pmx | 34 | 1455892245368ebeb11c1a5001393784 | ALL | | 1 | 32444503652d5671778fd20059078570 | 6274755055368eed1116388064384542 | 1 | OUTPUT | | | 218529141536be955f0b646092366402 | BLOCK |
|
||||
| Get with Status Case All and type Case Note in task 1 .pmx | 35 | 1455892245368ebeb11c1a5001393784 | ALL | | 1 | 16333273052d567284e6766029512960 | 6274755055368eed1116388064384542 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Get with Status Case All and type Messages in task 1 .pmx | 36 | 1455892245368ebeb11c1a5001393784 | ALL | | 1 | 34289569752d5673d310e82094574281 | 6274755055368eed1116388064384542 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Get with Status Case Draft and type All in task 2 .pmx | 37 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 1 | 00000000000000000000000000000001 | 6274755055368eed1116388064384542 | 1 | ANY | | | | VIEW |
|
||||
| Get with Status Case Draft and type Dynaform in task 2 .pmx | 38 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 1 | 11206717452d5673913aa69053050085 | 6274755055368eed1116388064384542 | 1 | DYNAFORM | 741536563536be333155026003350943 | | | BLOCK |
|
||||
| Get with Status Case Draft and type Input in task 2 .pmx | 39 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 2 | 21092802152d569a2e32b18087204577 | 6274755055368eed1116388064384542 | 0 | INPUT | | 880391746536be961e594e7014524130 | | BLOCK |
|
||||
| Get with Status Case Draft and type Output in task 2 .pmx | 40 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 1 | 14093514252d56720bff5b4038518272 | 6274755055368eed1116388064384542 | 1 | OUTPUT | | | 218529141536be955f0b646092366402 | BLOCK |
|
||||
| Get with Status Case Draft and type Case Note in task 2 .pmx | 41 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 1 | 19834612352d5673c73ea89076646062 | 6274755055368eed1116388064384542 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Get with Status Case Draft and type Messages in task 2 .pmx | 42 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 2 | 89064231952d567452ea008014804965 | 6274755055368eed1116388064384542 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Get with Status Case To Do and type All in task 1 .pmx | 43 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 1 | 00000000000000000000000000000001 | 6274755055368eed1116388064384542 | 1 | ANY | | | | VIEW |
|
||||
| Get with Status Case To Do and type Dynaform in task 1 .pmx | 44 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 1 | 36116269152d56733b20e86062657385 | 6274755055368eed1116388064384542 | 1 | DYNAFORM | 741536563536be333155026003350943 | | | BLOCK |
|
||||
| Get with Status Case To Do and type Input in task 1 .pmx | 45 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 2 | 66623507552d56742865613066097298 | 6274755055368eed1116388064384542 | 0 | INPUT | | 880391746536be961e594e7014524130 | | BLOCK |
|
||||
| Get with Status Case To Do and type Output in task 1 .pmx | 46 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 1 | 38102442252d5671a629009013495090 | 6274755055368eed1116388064384542 | 1 | OUTPUT | | | 218529141536be955f0b646092366402 | BLOCK |
|
||||
| Get with Status Case To Do and type Case Note in task 1 .pmx | 47 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 1 | 44114647252d567264eb9e4061647705 | 6274755055368eed1116388064384542 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Get with Status Case To Do and type Messages in task 1 .pmx | 48 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 1 | 44811996752d567110634a1013636964 | 6274755055368eed1116388064384542 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Get with Status Case Paused and type All in task 2 .pmx | 49 | 1455892245368ebeb11c1a5001393784 | PAUSED | 4790702485368efad167477011123879 | 1 | 00000000000000000000000000000001 | 6274755055368eed1116388064384542 | 1 | ANY | | | | VIEW |
|
||||
| Get with Status Case Paused and type Dynaform in task 2 .pmx | 50 | 1455892245368ebeb11c1a5001393784 | PAUSED | 4790702485368efad167477011123879 | 1 | 50011635952d5673246a575079973262 | 6274755055368eed1116388064384542 | 1 | DYNAFORM | 898822326536be3a12addb0034537553 | | | BLOCK |
|
||||
| Get with Status Case Paused and type Input in task 2 .pmx | 51 | 1455892245368ebeb11c1a5001393784 | PAUSED | 4790702485368efad167477011123879 | 2 | 81572528952d5673de56fa9048605800 | 6274755055368eed1116388064384542 | 0 | INPUT | | 880391746536be961e594e7014524130 | | BLOCK |
|
||||
| Get with Status Case Paused and type Output in task 2 .pmx | 52 | 1455892245368ebeb11c1a5001393784 | PAUSED | 4790702485368efad167477011123879 | 1 | 50562411252d5671e788c02016273245 | 6274755055368eed1116388064384542 | 1 | OUTPUT | | | 218529141536be955f0b646092366402 | BLOCK |
|
||||
| Get with Status Case Paused and type Case Note in task 2 .pmx | 53 | 1455892245368ebeb11c1a5001393784 | PAUSED | 4790702485368efad167477011123879 | 1 | 50912153352d5673b0b7e42000221953 | 6274755055368eed1116388064384542 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Get with Status Case Paused and type Messages in task 2 .pmx | 54 | 1455892245368ebeb11c1a5001393784 | PAUSED | 4790702485368efad167477011123879 | 2 | 13028697852d5674745cb64005883338 | 6274755055368eed1116388064384542 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
| Get with Status Case Completed and type All in task 3 .pmx | 55 | 1455892245368ebeb11c1a5001393784 | COMPLETED | 2072984565368efc137a394001073529 | 1 | 00000000000000000000000000000001 | 4790702485368efad167477011123879 | 1 | ANY | | | | VIEW |
|
||||
| Get with Status Case Completed and type Dynaform in task 3 .pmx | 56 | 1455892245368ebeb11c1a5001393784 | COMPLETED | 2072984565368efc137a394001073529 | 1 | 62511352152d5673bba9cd4062743508 | 4790702485368efad167477011123879 | 1 | DYNAFORM | 898822326536be3a12addb0034537553 | | | BLOCK |
|
||||
| Get with Status Case Completed and type Input in task 3 .pmx | 57 | 1455892245368ebeb11c1a5001393784 | COMPLETED | 2072984565368efc137a394001073529 | 2 | 46520967652d56747f384f5069459364 | 4790702485368efad167477011123879 | 0 | INPUT | | 880391746536be961e594e7014524130 | | BLOCK |
|
||||
| Get with Status Case Completed and type Output in task 3 .pmx | 58 | 1455892245368ebeb11c1a5001393784 | COMPLETED | 2072984565368efc137a394001073529 | 1 | 69125570352d56720061f83026430750 | 4790702485368efad167477011123879 | 1 | OUTPUT | | | 218529141536be955f0b646092366402 | BLOCK |
|
||||
| Get with Status Case Completed and type Case Note in task 3 .pmx | 59 | 1455892245368ebeb11c1a5001393784 | COMPLETED | 2072984565368efc137a394001073529 | 1 | 69578334752d5672aabb946025792134 | 4790702485368efad167477011123879 | 0 | CASES_NOTES | | | | BLOCK |
|
||||
| Get with Status Case Completed and type Messages in task 3 .pmx | 60 | 1455892245368ebeb11c1a5001393784 | COMPLETED | 2072984565368efc137a394001073529 | 1 | 73005191052d56727901138030694610 | 4790702485368efad167477011123879 | 0 | MSGS_HISTORY | | | | BLOCK |
|
||||
|
||||
|
||||
|
||||
@@ -146,7 +217,7 @@ Feature: Process Permissions Resources Tests
|
||||
|
||||
|
||||
And that I want to update a resource with the key "op_uid" stored in session array as variable "op_uid_<op_number>"
|
||||
And I request "project/67021149152e27240dc54d2095572343/process-permission"
|
||||
And I request "project/<project>/process-permission"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
@@ -154,19 +225,19 @@ Feature: Process Permissions Resources Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | op_number | op_case_status | tas_uid | op_user_relation| usr_uid | op_task_source | op_participate | op_obj_type | op_action |
|
||||
| Update Status Case Completed and type All in task 3 | 6 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 00000000000000000000000000000001 | 55416900252e272492318b9024750146 | 1 | ANY | VIEW |
|
||||
| Update Status Case Paused and type Messages in task 2 | 7 | PAUSED | 55416900252e272492318b9024750146 | 2 | 81090718052d567492e1852081697260 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | BLOCK |
|
||||
| Update Status Case Paused and type All in task 2 | 12 | PAUSED | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | VIEW |
|
||||
| Update Status Case To Do and type Messages in task 1 | 13 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 44811996752d567110634a1013636964 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | BLOCK |
|
||||
| test_description | op_number | project | op_case_status | tas_uid | op_user_relation | usr_uid | op_task_source | op_participate | op_obj_type | op_action |
|
||||
| Update Status Case Completed and type All in task 3 .pm | 6 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 00000000000000000000000000000001 | 55416900252e272492318b9024750146 | 1 | ANY | VIEW |
|
||||
| Update Status Case Paused and type Messages in task 2 .pm | 7 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 2 | 81090718052d567492e1852081697260 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | BLOCK |
|
||||
| Update Status Case Paused and type All in task 2 .pm | 12 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | VIEW |
|
||||
| Update Status Case To Do and type Messages in task 1 .pm | 13 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 44811996752d567110634a1013636964 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | BLOCK |
|
||||
| Update Status Case Paused and type Messages in task 2 .pmx | 37 | 1455892245368ebeb11c1a5001393784 | DRAFT | 6274755055368eed1116388064384542 | 1 | 00000000000000000000000000000001 | 6274755055368eed1116388064384542 | 1 | ANY | VIEW |
|
||||
| Update Status Case Paused and type All in task 2 .pmx | 42 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 2 | 89064231952d567452ea008014804965 | 6274755055368eed1116388064384542 | 0 | MSGS_HISTORY | BLOCK |
|
||||
| Update Status Case To Do and type Messages in task 1 .pmx | 43 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 1 | 00000000000000000000000000000001 | 6274755055368eed1116388064384542 | 1 | ANY | VIEW |
|
||||
|
||||
|
||||
|
||||
Scenario Outline: Get a Single Process Permissions and check some properties
|
||||
|
||||
|
||||
Given that I want to get a resource with the key "op_uid" stored in session array as variable "op_uid_<op_number>"
|
||||
And I request "project/67021149152e27240dc54d2095572343/process-permission"
|
||||
Given that I want to get a resource with the key "op_uid" stored in session array as variable "op_uid_<op_number>"
|
||||
And I request "project/<project>/process-permission"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
@@ -180,19 +251,21 @@ Feature: Process Permissions Resources Tests
|
||||
And the "op_obj_type" property equals "<op_obj_type>"
|
||||
And the "op_action" property equals "<op_action>"
|
||||
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | op_number | op_case_status | tas_uid | op_user_relation| usr_uid | op_task_source | op_participate | op_obj_type | op_action |
|
||||
| Update Status Case Completed and type All in task 3 | 6 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 00000000000000000000000000000001 | 55416900252e272492318b9024750146 | 1 | ANY | VIEW |
|
||||
| Update Status Case Paused and type Messages in task 2 | 7 | PAUSED | 55416900252e272492318b9024750146 | 2 | 81090718052d567492e1852081697260 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | BLOCK |
|
||||
| Update Status Case Paused and type All in task 2 | 12 | PAUSED | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | VIEW |
|
||||
| Update Status Case To Do and type Messages in task 1 | 13 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 44811996752d567110634a1013636964 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | BLOCK |
|
||||
|
||||
| test_description | op_number | project | op_case_status | tas_uid | op_user_relation | usr_uid | op_task_source | op_participate | op_obj_type | op_action |
|
||||
| Get Status Case Completed and type All in task 3 .pm | 6 | 67021149152e27240dc54d2095572343 | COMPLETED | 64296230152e2724a8b3589070508795 | 1 | 00000000000000000000000000000001 | 55416900252e272492318b9024750146 | 1 | ANY | VIEW |
|
||||
| Get Status Case Paused and type Messages in task 2 .pm | 7 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 2 | 81090718052d567492e1852081697260 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | BLOCK |
|
||||
| Get Status Case Paused and type All in task 2 .pm | 12 | 67021149152e27240dc54d2095572343 | PAUSED | 55416900252e272492318b9024750146 | 1 | 00000000000000000000000000000001 | 36792129552e27247a483f6069605623 | 1 | ANY | VIEW |
|
||||
| Get Status Case To Do and type Messages in task 1 .pm | 13 | 67021149152e27240dc54d2095572343 | TO_DO | 36792129552e27247a483f6069605623 | 1 | 44811996752d567110634a1013636964 | 36792129552e27247a483f6069605623 | 0 | MSGS_HISTORY | BLOCK |
|
||||
| Get Status Case Paused and type Messages in task 2 .pmx | 37 | 1455892245368ebeb11c1a5001393784 | DRAFT | 6274755055368eed1116388064384542 | 1 | 00000000000000000000000000000001 | 6274755055368eed1116388064384542 | 1 | ANY | VIEW |
|
||||
| Get Status Case Paused and type All in task 2 .pmx | 42 | 1455892245368ebeb11c1a5001393784 | DRAFT | 4790702485368efad167477011123879 | 2 | 89064231952d567452ea008014804965 | 6274755055368eed1116388064384542 | 0 | MSGS_HISTORY | BLOCK |
|
||||
| Get Status Case To Do and type Messages in task 1 .pmx | 43 | 1455892245368ebeb11c1a5001393784 | TO_DO | 6274755055368eed1116388064384542 | 1 | 00000000000000000000000000000001 | 6274755055368eed1116388064384542 | 1 | ANY | VIEW |
|
||||
|
||||
|
||||
Scenario Outline: Delete all Process Supervisor created previously in this script
|
||||
Given that I want to delete a resource with the key "op_uid" stored in session array as variable "op_uid_<op_number>"
|
||||
And I request "project/67021149152e27240dc54d2095572343/process-permission"
|
||||
And I request "project/<project>/process-permission"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
@@ -200,56 +273,93 @@ Feature: Process Permissions Resources Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| op_number |
|
||||
| 1 |
|
||||
| 2 |
|
||||
| 3 |
|
||||
| 4 |
|
||||
| 5 |
|
||||
| 6 |
|
||||
| 7 |
|
||||
| 8 |
|
||||
| 9 |
|
||||
| 10 |
|
||||
| 11 |
|
||||
| 12 |
|
||||
| 13 |
|
||||
| 14 |
|
||||
| 15 |
|
||||
| 16 |
|
||||
| 17 |
|
||||
| 18 |
|
||||
| 19 |
|
||||
| 20 |
|
||||
| 21 |
|
||||
| 22 |
|
||||
| 23 |
|
||||
| 24 |
|
||||
| 25 |
|
||||
| 26 |
|
||||
| 27 |
|
||||
| 28 |
|
||||
| 29 |
|
||||
| 30 |
|
||||
| project | op_number |
|
||||
| 67021149152e27240dc54d2095572343 | 1 |
|
||||
| 67021149152e27240dc54d2095572343 | 2 |
|
||||
| 67021149152e27240dc54d2095572343 | 3 |
|
||||
| 67021149152e27240dc54d2095572343 | 4 |
|
||||
| 67021149152e27240dc54d2095572343 | 5 |
|
||||
| 67021149152e27240dc54d2095572343 | 6 |
|
||||
| 67021149152e27240dc54d2095572343 | 7 |
|
||||
| 67021149152e27240dc54d2095572343 | 8 |
|
||||
| 67021149152e27240dc54d2095572343 | 9 |
|
||||
| 67021149152e27240dc54d2095572343 | 10 |
|
||||
| 67021149152e27240dc54d2095572343 | 11 |
|
||||
| 67021149152e27240dc54d2095572343 | 12 |
|
||||
| 67021149152e27240dc54d2095572343 | 13 |
|
||||
| 67021149152e27240dc54d2095572343 | 14 |
|
||||
| 67021149152e27240dc54d2095572343 | 15 |
|
||||
| 67021149152e27240dc54d2095572343 | 16 |
|
||||
| 67021149152e27240dc54d2095572343 | 17 |
|
||||
| 67021149152e27240dc54d2095572343 | 18 |
|
||||
| 67021149152e27240dc54d2095572343 | 19 |
|
||||
| 67021149152e27240dc54d2095572343 | 20 |
|
||||
| 67021149152e27240dc54d2095572343 | 21 |
|
||||
| 67021149152e27240dc54d2095572343 | 22 |
|
||||
| 67021149152e27240dc54d2095572343 | 23 |
|
||||
| 67021149152e27240dc54d2095572343 | 24 |
|
||||
| 67021149152e27240dc54d2095572343 | 25 |
|
||||
| 67021149152e27240dc54d2095572343 | 26 |
|
||||
| 67021149152e27240dc54d2095572343 | 27 |
|
||||
| 67021149152e27240dc54d2095572343 | 28 |
|
||||
| 67021149152e27240dc54d2095572343 | 29 |
|
||||
| 67021149152e27240dc54d2095572343 | 30 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 31 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 32 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 33 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 34 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 35 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 36 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 37 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 38 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 39 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 40 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 41 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 42 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 43 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 44 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 45 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 46 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 47 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 48 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 49 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 50 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 51 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 52 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 53 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 54 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 55 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 56 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 57 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 58 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 59 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 60 |
|
||||
|
||||
|
||||
Scenario: Get a List of current Process Permissions of a project
|
||||
Given I request "project/67021149152e27240dc54d2095572343/process-permissions"
|
||||
Scenario Outline: Get a List of current Process Permissions of a project
|
||||
Given I request "project/<project>/process-permissions"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the response has 0 record
|
||||
And the response has <record> record
|
||||
|
||||
Examples:
|
||||
| test_description | project | record |
|
||||
| List process permissions of the process "Test Process Permissions" | 67021149152e27240dc54d2095572343 | 0 |
|
||||
| List process permissions of the process "Process Complete BPMN" | 1455892245368ebeb11c1a5001393784 | 1 |
|
||||
|
||||
|
||||
#Prueba del BUG 15085, donde se pueda crear los permisos Resend para Message History
|
||||
|
||||
Scenario: Get a List of current Process Permissions of a project
|
||||
|
||||
Scenario: Get a List of current Process Permissions of a project
|
||||
Given I request "project/1455892245368ebeb11c1a5001393784/process-permissions"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the response has 1 record
|
||||
|
||||
Scenario Outline: Create a new Process permission in proyect "Process Complete BPMN"
|
||||
Given POST this data:
|
||||
|
||||
Scenario Outline: Create a new Process permission in proyect "Process Complete BPMN"
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"op_case_status": "<op_case_status>",
|
||||
@@ -279,13 +389,13 @@ Scenario Outline: Create a new Process permission in proyect "Process Complete B
|
||||
| 2 | COMPLETED | | 1 | 00000000000000000000000000000001 | | 0 | MSGS_HISTORY | | | | RESEND |
|
||||
|
||||
|
||||
Scenario: Get a List of current Process Permissions of a project
|
||||
Scenario: Get a List of current Process Permissions of a project
|
||||
Given I request "project/1455892245368ebeb11c1a5001393784/process-permissions"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the response has 3 record
|
||||
|
||||
Scenario Outline: Delete all Process Supervisor created previously in this script
|
||||
Scenario Outline: Delete all Process Supervisor created previously in this script
|
||||
Given that I want to delete a resource with the key "op_uid" stored in session array as variable "op_uid_<op_number>"
|
||||
And I request "project/1455892245368ebeb11c1a5001393784/process-permission"
|
||||
And the content type is "application/json"
|
||||
|
||||
@@ -1,277 +1,288 @@
|
||||
@ProcessMakerMichelangelo @RestAPI
|
||||
Feature: Process supervisor Resources
|
||||
Requirements:
|
||||
a workspace with the process 85794888452ceeef3675164057928956 ("Test Process Supervisor") already loaded
|
||||
there are zero supervisor, dynaform and input document in the Process Supervisor of process
|
||||
a workspace with the process 85794888452ceeef3675164057928956 ("Test Process Supervisor") already loaded
|
||||
there are zero supervisor, dynaform and input document in the Process Supervisor of process
|
||||
and workspace with the process 1455892245368ebeb11c1a5001393784 - "Process Complete BPMN" already loaded" already loaded
|
||||
|
||||
|
||||
Background:
|
||||
Given that I have a valid access_token
|
||||
Background:
|
||||
Given that I have a valid access_token
|
||||
|
||||
Scenario Outline: Get a List of current process supervisors of a project
|
||||
Given I request "project/<project>/process-supervisors"
|
||||
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> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| List current unique process supervisor | 85794888452ceeef3675164057928956 | 1 |
|
||||
|
||||
|
||||
Scenario Outline: Get a List of available process supervisor of a project
|
||||
Given I request "project/<project>/available-process-supervisors"
|
||||
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> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| List users and groups available to be supervisors | 85794888452ceeef3675164057928956 | 3 |
|
||||
|
||||
|
||||
Scenario Outline: Get a List of available groups process supervisor of a project
|
||||
Given I request "project/<project>/available-process-supervisors?obj_type=group"
|
||||
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> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| List the 23 groups available to be supervisors | 85794888452ceeef3675164057928956 | 1 |
|
||||
|
||||
|
||||
Scenario Outline: Get a List of available users elegible as process supervisor
|
||||
Given I request "project/<project>/available-process-supervisors?obj_type=user"
|
||||
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> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| List the unique admin user available to be supervisor | 85794888452ceeef3675164057928956 | 2 |
|
||||
|
||||
|
||||
|
||||
Scenario Outline: Get a specific process supervisor details of a project
|
||||
Given I request "project/<project>/process-supervisor/<pu_uid>"
|
||||
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 "object"
|
||||
Scenario Outline: Get a List of current process supervisors of a project
|
||||
Given I request "project/<project>/process-supervisors"
|
||||
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> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | pu_uid |
|
||||
| Get the supervisor details | 85794888452ceeef3675164057928956 | 31336919452fa84404e3ac0086239686 |
|
||||
| test_description | project | records |
|
||||
| List current unique process supervisor .pm | 85794888452ceeef3675164057928956 | 1 |
|
||||
| List current unique process supervisor .pmx | 1455892245368ebeb11c1a5001393784 | 1 |
|
||||
|
||||
|
||||
Scenario Outline: Get a List of available process supervisor of a project
|
||||
Given I request "project/<project>/available-process-supervisors"
|
||||
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> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| List users and groups available to be supervisors .pm | 85794888452ceeef3675164057928956 | 3 |
|
||||
| List users and groups available to be supervisors .pmx | 1455892245368ebeb11c1a5001393784 | 2 |
|
||||
|
||||
|
||||
Scenario Outline: Get a List of available groups process supervisor of a project
|
||||
Given I request "project/<project>/available-process-supervisors?obj_type=group"
|
||||
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> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| List the 23 groups available to be supervisors .pm | 85794888452ceeef3675164057928956 | 1 |
|
||||
| List the 23 groups available to be supervisors .pmx | 1455892245368ebeb11c1a5001393784 | 0 |
|
||||
|
||||
|
||||
Scenario Outline: Get a List of available users elegible as process supervisor
|
||||
Given I request "project/<project>/available-process-supervisors?obj_type=user"
|
||||
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> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| List the unique admin user available to be supervisor .pm | 85794888452ceeef3675164057928956 | 2 |
|
||||
| List the unique admin user available to be supervisor .pmx | 1455892245368ebeb11c1a5001393784 | 2 |
|
||||
|
||||
|
||||
Scenario Outline: Get a specific process supervisor details of a project
|
||||
Given I request "project/<project>/process-supervisor/<pu_uid>"
|
||||
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 "object"
|
||||
|
||||
Examples:
|
||||
| test_description | project | pu_uid |
|
||||
| Get the supervisor details | 85794888452ceeef3675164057928956 | 31336919452fa84404e3ac0086239686 |
|
||||
|
||||
|
||||
Scenario Outline: Get a List of dynaforms assigned to a process supervisor
|
||||
Given I request "project/<project>/process-supervisor/dynaforms"
|
||||
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> records
|
||||
Scenario Outline: Get a List of dynaforms assigned to a process supervisor
|
||||
Given I request "project/<project>/process-supervisor/dynaforms"
|
||||
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> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| List the 2 pre-assigned dynaforms #1 & #2 | 85794888452ceeef3675164057928956 | 2 |
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| List the 2 pre-assigned dynaforms #1 & #2 .pm | 85794888452ceeef3675164057928956 | 2 |
|
||||
| List the 2 pre-assigned dynaforms #1 & #2 .pmx | 1455892245368ebeb11c1a5001393784 | 1 |
|
||||
|
||||
|
||||
Scenario Outline: Get a specific dynaform detail assigned to a process supervisor
|
||||
Given I request "project/<project>/process-supervisor/dynaform/<pud_uid>"
|
||||
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 "object"
|
||||
Scenario Outline: Get a specific dynaform detail assigned to a process supervisor
|
||||
Given I request "project/<project>/process-supervisor/dynaform/<pud_uid>"
|
||||
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 "object"
|
||||
|
||||
Examples:
|
||||
| test_description | project | pud_uid |
|
||||
| Get details of the first assigend dynaform | 85794888452ceeef3675164057928956 | 56779160652cef174108c76074755720 |
|
||||
Examples:
|
||||
| test_description | project | pud_uid |
|
||||
| Get details of the first assigend dynaform | 85794888452ceeef3675164057928956 | 56779160652cef174108c76074755720 |
|
||||
|
||||
|
||||
|
||||
Scenario Outline: Get a List of available dynaforms to be assigned to a process supervisor
|
||||
Given I request "project/<project>/process-supervisor/available-dynaforms"
|
||||
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> records
|
||||
Scenario Outline: Get a List of available dynaforms to be assigned to a process supervisor
|
||||
Given I request "project/<project>/process-supervisor/available-dynaforms"
|
||||
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> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get a list of available dynaforms to be assigned | 85794888452ceeef3675164057928956 | 1 |
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get a list of available dynaforms to be assigned .pm | 85794888452ceeef3675164057928956 | 1 |
|
||||
| Get a list of available dynaforms to be assigned .pmx | 1455892245368ebeb11c1a5001393784 | 17 |
|
||||
|
||||
|
||||
Scenario Outline: Get a List of assigend input-documents to a process supervisor
|
||||
Given I request "project/<project>/process-supervisor/input-documents"
|
||||
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> records
|
||||
Scenario Outline: Get a List of assigend input-documents to a process supervisor
|
||||
Given I request "project/<project>/process-supervisor/input-documents"
|
||||
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> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get a list of pre-assigned input doucments | 85794888452ceeef3675164057928956 | 2 |
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get a list of pre-assigned input doucments .pm | 85794888452ceeef3675164057928956 | 2 |
|
||||
| Get a list of pre-assigned input doucments .pmx | 1455892245368ebeb11c1a5001393784 | 0 |
|
||||
|
||||
|
||||
Scenario Outline: Get a List of available input-documents to be assigned to a process supervisor
|
||||
Given I request "project/<project>/process-supervisor/available-input-documents"
|
||||
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> records
|
||||
Scenario Outline: Get a List of available input-documents to be assigned to a process supervisor
|
||||
Given I request "project/<project>/process-supervisor/available-input-documents"
|
||||
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> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get a list of 1 record of available input documents | 85794888452ceeef3675164057928956 | 1 |
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get a list of 1 record of available input documents .pm | 85794888452ceeef3675164057928956 | 1 |
|
||||
| Get a list of 1 record of available input documents .pmx | 1455892245368ebeb11c1a5001393784 | 1 |
|
||||
|
||||
|
||||
Scenario Outline: Get a specific input document assigned to a process supervisor
|
||||
Given I request "project/<project>/process-supervisor/input-document/<pui_uid>"
|
||||
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 "object"
|
||||
Scenario Outline: Get a specific input document assigned to a process supervisor
|
||||
Given I request "project/<project>/process-supervisor/input-document/<pui_uid>"
|
||||
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 "object"
|
||||
|
||||
Examples:
|
||||
| test_description | project | pui_uid |
|
||||
| Get details of assigend input document | 85794888452ceeef3675164057928956 | 64558052052d8a715de8936029381436 |
|
||||
Examples:
|
||||
| test_description | project | pui_uid |
|
||||
| Get details of assigend input document | 85794888452ceeef3675164057928956 | 64558052052d8a715de8936029381436 |
|
||||
|
||||
|
||||
Scenario Outline: Assign a user and a group as process supervisors
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"pu_type": "<pu_type>",
|
||||
"usr_uid": "<usr_uid>"
|
||||
}
|
||||
"""
|
||||
And I request "project/<project>/process-supervisor"
|
||||
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 "pu_uid" in session array as variable "pu_uid_<pu_number>"
|
||||
Scenario Outline: Assign a user and a group as process supervisors
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"pu_type": "<pu_type>",
|
||||
"usr_uid": "<usr_uid>"
|
||||
}
|
||||
"""
|
||||
And I request "project/<project>/process-supervisor"
|
||||
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 "pu_uid" in session array as variable "pu_uid_<pu_number>"
|
||||
|
||||
Examples:
|
||||
| test_description | project | pu_number | pu_type | usr_uid |
|
||||
| Assign a group as Supervisor | 85794888452ceeef3675164057928956 | 1 | GROUP_SUPERVISOR | 54731929352d56741de9d42002704749 |
|
||||
| Assign a user as Supervisor | 85794888452ceeef3675164057928956 | 2 | SUPERVISOR | 00000000000000000000000000000001 |
|
||||
Examples:
|
||||
| test_description | project | pu_number | pu_type | usr_uid |
|
||||
| Assign a group as Supervisor .pm | 85794888452ceeef3675164057928956 | 1 | GROUP_SUPERVISOR | 54731929352d56741de9d42002704749 |
|
||||
| Assign a user as Supervisor .pm | 85794888452ceeef3675164057928956 | 2 | SUPERVISOR | 00000000000000000000000000000001 |
|
||||
| Assign a group as Supervisor .pm | 1455892245368ebeb11c1a5001393784 | 3 | GROUP_SUPERVISOR | 54731929352d56741de9d42002704749 |
|
||||
| Assign a user as Supervisor .pmx | 1455892245368ebeb11c1a5001393784 | 4 | SUPERVISOR | 00000000000000000000000000000001 |
|
||||
|
||||
|
||||
Scenario: Assign a supervisor process when it was already assigned
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"pu_type": "SUPERVISOR",
|
||||
"usr_uid": "00000000000000000000000000000001"
|
||||
}
|
||||
"""
|
||||
And I request "project/85794888452ceeef3675164057928956/process-supervisor"
|
||||
Then the response status code should be 400
|
||||
And the response status message should have the following text "already exist"
|
||||
|
||||
Scenario: Assign a supervisor process when it was already assigned
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"pu_type": "SUPERVISOR",
|
||||
"usr_uid": "00000000000000000000000000000001"
|
||||
}
|
||||
"""
|
||||
And I request "project/85794888452ceeef3675164057928956/process-supervisor"
|
||||
Then the response status code should be 400
|
||||
And the response status message should have the following text "already exist"
|
||||
|
||||
|
||||
Scenario Outline: Assign a dynaform to a process supervisor
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"dyn_uid": "<dyn_uid>"
|
||||
}
|
||||
"""
|
||||
And I request "project/<project>/process-supervisor/dynaform"
|
||||
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 "pud_uid" in session array as variable "pud_uid_<pud_number>"
|
||||
Scenario Outline: Assign a dynaform to a process supervisor
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"dyn_uid": "<dyn_uid>"
|
||||
}
|
||||
"""
|
||||
And I request "project/<project>/process-supervisor/dynaform"
|
||||
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 "pud_uid" in session array as variable "pud_uid_<pud_number>"
|
||||
|
||||
Examples:
|
||||
| test_description | project | pud_number | dyn_uid |
|
||||
| Assign a dynaform # 3 for Supervisor .pm | 85794888452ceeef3675164057928956 | 1 | 92562207752ceef36c7d874048012431 |
|
||||
| Assign a dynaform # 3 for Supervisor .pmx | 1455892245368ebeb11c1a5001393784 | 3 | 266014934536be6ddcc3c70030451701 |
|
||||
|
||||
|
||||
Examples:
|
||||
| test_description | project | pud_number | dyn_uid |
|
||||
| Assign a dynaform # 3 for Supervisor | 85794888452ceeef3675164057928956 | 1 | 92562207752ceef36c7d874048012431 |
|
||||
|
||||
|
||||
Scenario: Assign a dynaform to a process supervisor when it was already assigned
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"dyn_uid": "92562207752ceef36c7d874048012431"
|
||||
}
|
||||
"""
|
||||
And I request "project/85794888452ceeef3675164057928956/process-supervisor/dynaform"
|
||||
Then the response status code should be 400
|
||||
And the response status message should have the following text "already exist"
|
||||
|
||||
Scenario: Assign a dynaform to a process supervisor when it was already assigned
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"dyn_uid": "92562207752ceef36c7d874048012431"
|
||||
}
|
||||
"""
|
||||
And I request "project/85794888452ceeef3675164057928956/process-supervisor/dynaform"
|
||||
Then the response status code should be 400
|
||||
And the response status message should have the following text "already exist"
|
||||
|
||||
|
||||
Scenario Outline: Assign an input document to a process supervisor
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"inp_doc_uid": "<inp_doc_uid>"
|
||||
}
|
||||
"""
|
||||
And I request "project/<project>/process-supervisor/input-document"
|
||||
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 "pui_uid" in session array as variable "pui_inpdoc_uid_<dps_number>"
|
||||
Scenario Outline: Assign an input document to a process supervisor
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"inp_doc_uid": "<inp_doc_uid>"
|
||||
}
|
||||
"""
|
||||
And I request "project/<project>/process-supervisor/input-document"
|
||||
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 "pui_uid" in session array as variable "pui_inpdoc_uid_<dps_number>"
|
||||
|
||||
|
||||
|
||||
Examples:
|
||||
| test_description | project | dps_number | inp_doc_uid |
|
||||
| Assign an Input document for Supervisor | 85794888452ceeef3675164057928956 | 1 | 54550354652ceef5e4e1c17096955890 |
|
||||
|
||||
Examples:
|
||||
| test_description | project | dps_number | inp_doc_uid |
|
||||
| Assign an Input document for Supervisor .pm | 85794888452ceeef3675164057928956 | 1 | 54550354652ceef5e4e1c17096955890 |
|
||||
| Assign an Input document for Supervisor .pmx | 1455892245368ebeb11c1a5001393784 | 3 | 880391746536be961e594e7014524130 |
|
||||
|
||||
|
||||
|
||||
Scenario Outline: Delete a process supervisor
|
||||
Given that I want to delete a resource with the key "pu_uid" stored in session array as variable "pu_uid_<pu_number>"
|
||||
And I request "project/<project>/process-supervisor"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
Scenario Outline: Delete a process supervisor
|
||||
Given that I want to delete a resource with the key "pu_uid" stored in session array as variable "pu_uid_<pu_number>"
|
||||
And I request "project/<project>/process-supervisor"
|
||||
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 | project | pu_number |
|
||||
| Remove first assigned supervisor | 85794888452ceeef3675164057928956 | 1 |
|
||||
| Remove second assigned supervisor | 85794888452ceeef3675164057928956 | 2 |
|
||||
Examples:
|
||||
| test_description | project | pu_number |
|
||||
| Remove first assigned supervisor .pm | 85794888452ceeef3675164057928956 | 1 |
|
||||
| Remove second assigned supervisor .pm | 85794888452ceeef3675164057928956 | 2 |
|
||||
| Remove first assigned supervisor .pmx | 1455892245368ebeb11c1a5001393784 | 3 |
|
||||
| Remove second assigned supervisor .pmx | 1455892245368ebeb11c1a5001393784 | 4 |
|
||||
|
||||
|
||||
|
||||
Scenario Outline: Delete a input-document process supervisor of a project
|
||||
Given that I want to delete a resource with the key "pui_uid" stored in session array as variable "pui_inpdoc_uid_<dps_number>"
|
||||
And I request "project/85794888452ceeef3675164057928956/process-supervisor/input-document"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
Scenario Outline: Delete a input-document process supervisor of a project
|
||||
Given that I want to delete a resource with the key "pui_uid" stored in session array as variable "pui_inpdoc_uid_<dps_number>"
|
||||
And I request "project/85794888452ceeef3675164057928956/process-supervisor/input-document"
|
||||
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 | project | dps_number |
|
||||
| Assign an Input document for Supervisor | 85794888452ceeef3675164057928956 | 1 |
|
||||
Examples:
|
||||
| test_description | project | dps_number |
|
||||
| Assign an Input document for Supervisor.pm | 85794888452ceeef3675164057928956 | 1 |
|
||||
| Assign an Input document for Supervisor.pmx | 1455892245368ebeb11c1a5001393784 | 3 |
|
||||
|
||||
|
||||
Scenario Outline: Delete an dynaform to a process supervisor
|
||||
Given that I want to delete a resource with the key "pui_uid" stored in session array as variable "pud_uid_<pud_number>"
|
||||
And I request "project/<project>/process-supervisor/dynaform"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
Scenario Outline: Delete an dynaform to a process supervisor
|
||||
Given that I want to delete a resource with the key "pui_uid" stored in session array as variable "pud_uid_<pud_number>"
|
||||
And I request "project/<project>/process-supervisor/dynaform"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
|
||||
|
||||
Examples:
|
||||
| test_description | project | pud_number |
|
||||
| Delete dynaform # 3 for Supervisor | 85794888452ceeef3675164057928956 | 1 |
|
||||
Examples:
|
||||
| test_description | project | pud_number |
|
||||
| Delete dynaform # 3 for Supervisor .pm | 85794888452ceeef3675164057928956 | 1 |
|
||||
| Delete dynaform # 3 for Supervisor .pmx | 1455892245368ebeb11c1a5001393784 | 3 |
|
||||
@@ -3,11 +3,12 @@ Feature: Process Variables Main Tests
|
||||
Requirements:
|
||||
a workspace with the process 3306142435318cd22d1eba2015305561 ("Process variables") already loaded
|
||||
there are three activities 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 Outline: Get all variables of a Process
|
||||
Scenario Outline: Get all variables of a Process .pm "Process variables"
|
||||
And I request "project/3306142435318cd22d1eba2015305561/variables"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
@@ -31,13 +32,55 @@ Feature: Process Variables Main Tests
|
||||
| 11 | grilla3 |
|
||||
| 12 | grilla1 |
|
||||
|
||||
|
||||
Scenario: Get grid variables of a Process
|
||||
Given I request "project/3306142435318cd22d1eba2015305561/grid/variables"
|
||||
|
||||
Scenario Outline: Get all variables of a Process .pmx "Process Complete BPMN"
|
||||
And I request "project/1455892245368ebeb11c1a5001393784/variables"
|
||||
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 "array"
|
||||
And the "var_name" property in row <i> equals "<var_name>"
|
||||
|
||||
Examples:
|
||||
| i | var_name |
|
||||
| 0 | SYS_LANG |
|
||||
| 1 | SYS_SKIN |
|
||||
| 2 | SYS_SYS |
|
||||
| 3 | APPLICATION |
|
||||
| 4 | PROCESS |
|
||||
| 5 | TASK |
|
||||
| 6 | INDEX |
|
||||
| 7 | USER_LOGGED |
|
||||
| 8 | USR_USERNAME |
|
||||
| 9 | PIN |
|
||||
| 10 | ID_PAIS |
|
||||
| 11 | TXT_CARRERA_DATOS |
|
||||
| 12 | TXT_NUMERO |
|
||||
| 13 | JS |
|
||||
| 14 | PHP_URL |
|
||||
| 15 | PMTABLE_CONNECTION |
|
||||
| 16 | IDENTIFICACION |
|
||||
| 17 | NOMBRE |
|
||||
| 18 | APELLIDO |
|
||||
| 19 | EDAD |
|
||||
| 20 | DIRECCION |
|
||||
| 21 | FECHA |
|
||||
| 22 | ESTATURA |
|
||||
| 23 | WEB_TXT_DATO1 |
|
||||
|
||||
|
||||
Scenario Outline: Get grid variables of a Process
|
||||
Given I request "project/<project>/grid/variables"
|
||||
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 "array"
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get of the process .pm | 3306142435318cd22d1eba2015305561 | 0 |
|
||||
| Get of the process .pmx | 1455892245368ebeb11c1a5001393784 | 0 |
|
||||
|
||||
|
||||
Scenario: Get all variables of a Grid
|
||||
|
||||
@@ -3,32 +3,70 @@ Feature: Project User Resources Main Tests
|
||||
Requirements:
|
||||
a workspace with the process 1265557095225ff5c688f46031700471 ("Test Michelangelo") already loaded
|
||||
there are two output documents 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 a list of users of a project when there are exactly 52 users
|
||||
Given I request "project/1265557095225ff5c688f46031700471/users"
|
||||
Scenario Outline: Get a list of users of a project when there are exactly 52 users
|
||||
Given I request "project/<project>/users"
|
||||
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 6 records
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
|
||||
Scenario: Get a list of starting task of a project when there are exactly 2 tasks
|
||||
Given I request "project/1265557095225ff5c688f46031700471/starting-tasks"
|
||||
| test_description | project | records |
|
||||
| Get user of the process "Test Michelangelo" | 1265557095225ff5c688f46031700471 | 6 |
|
||||
| Get user of the process "Process Complete BPMN" | 1455892245368ebeb11c1a5001393784 | 1 |
|
||||
|
||||
|
||||
Scenario Outline: Get a list of starting task of a project when there are exactly 2 tasks
|
||||
Given I request "project/<project>/starting-tasks"
|
||||
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 2 records
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | records |
|
||||
| Get user starting of the process "Test Michelangelo" | 1265557095225ff5c688f46031700471 | 2 |
|
||||
| Get user starting of the process "Process Complete BPMN" | 1455892245368ebeb11c1a5001393784 | 3 |
|
||||
|
||||
|
||||
Scenario Outline: Get a list of start task of a specific user
|
||||
Given I request "project/1265557095225ff5c688f46031700471/user/<usr_uid>/starting-tasks"
|
||||
Given I request "project/<project>/user/<usr_uid>/starting-tasks"
|
||||
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> records
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | usr_uid | records |
|
||||
| Verify that this user admin tasks .pm | 1265557095225ff5c688f46031700471 | 00000000000000000000000000000001 | 2 |
|
||||
| Verify that this user adam tasks .pm | 1265557095225ff5c688f46031700471 | 16333273052d567284e6766029512960 | 1 |
|
||||
| Verify that this user magda tasks .pm | 1265557095225ff5c688f46031700471 | 90909671452d56718417612014706933 | 1 |
|
||||
| Verify that this user admin tasks .pmx | 1455892245368ebeb11c1a5001393784 | 00000000000000000000000000000001 | 3 |
|
||||
|
||||
|
||||
Scenario Outline: Verify if a user can start a task
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"act_uid": "<act_uid>",
|
||||
"username": "<username>",
|
||||
"password": "<password>"
|
||||
}
|
||||
"""
|
||||
And I request "project/1265557095225ff5c688f46031700471/ws/user/can-start-task"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
@@ -36,31 +74,8 @@ Feature: Project User Resources Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | usr_uid |
|
||||
| Verify that this user admin tasks | 00000000000000000000000000000001 |
|
||||
| Verify that this user adam tasks | 16333273052d567284e6766029512960 |
|
||||
| Verify that this user magda tasks | 90909671452d56718417612014706933 |
|
||||
|
||||
|
||||
Scenario Outline: Verify if a user can start a task
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"act_uid": "<act_uid>",
|
||||
"username": "<username>",
|
||||
"password": "<password>"
|
||||
}
|
||||
"""
|
||||
And I request "project/1265557095225ff5c688f46031700471/ws/user/can-start-task"
|
||||
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"
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | act_uid | username | password |
|
||||
| Properties of user admin - task 1 | 1352844695225ff5fe54de2005407079 | admin | sample123* |
|
||||
| Properties of user owen - task 1 | 1352844695225ff5fe54de2005407079 | owen | sample |
|
||||
| Properties of user admin - task 1 | 1352844695225ff5fe54de2005407079 | alyssa | sample |
|
||||
| Properties of user owen - task 2 | 46941969352af5be2ab3f39001216717 | admin | sample123* |
|
||||
| test_description | act_uid | username | password |
|
||||
| Properties of user admin - task 1 .pm | 1352844695225ff5fe54de2005407079 | admin | sample123* |
|
||||
| Properties of user owen - task 1 .pm | 1352844695225ff5fe54de2005407079 | owen | sample |
|
||||
| Properties of user admin - task 1 .pm | 1352844695225ff5fe54de2005407079 | alyssa | sample |
|
||||
| Properties of user owen - task 2 .pm | 46941969352af5be2ab3f39001216717 | admin | sample123* |
|
||||
@@ -3,13 +3,14 @@ Feature: Group
|
||||
Requirements:
|
||||
a workspace with the process 14414793652a5d718b65590036026581 ("Sample Project #1") already loaded
|
||||
there are three activities 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 Outline: Get the Trigger Wizard List when there are exactly 6 library
|
||||
And I request "project/14414793652a5d718b65590036026581/trigger-wizards"
|
||||
And I request "project/<project>/trigger-wizards"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
@@ -20,17 +21,23 @@ Feature: Group
|
||||
And the "lib_class_name" property in row <i> equals "<lib_class_name>"
|
||||
|
||||
Examples:
|
||||
| i | lib_name | lib_title | lib_class_name |
|
||||
| 0 | pmFunctions | ProcessMaker Functions | class.pmFunctions.php |
|
||||
| 1 | pmSugar | Sugar CRM Triggers | class.pmSugar.pmFunctions.php |
|
||||
| 2 | pmTalend | Talend ETL Integration | class.pmTalend.pmFunctions.php |
|
||||
| 3 | pmTrAlfresco | Alfresco DM Triggers v. 0.1 | class.pmTrAlfresco.pmFunctions.php |
|
||||
| 4 | pmTrSharepoint | Sharepoint DWS Triggers v. 0.1 | class.pmTrSharepoint.pmFunctions.php |
|
||||
| 5 | pmZimbra | Zimbra Triggers v. 0.1 | class.pmZimbra.pmFunctions.php |
|
||||
| test_description | i | project | lib_name | lib_title | lib_class_name |
|
||||
| Get in process .pm | 0 | 14414793652a5d718b65590036026581 | pmFunctions | ProcessMaker Functions | class.pmFunctions.php |
|
||||
| Get in process .pm | 1 | 14414793652a5d718b65590036026581 | pmSugar | Sugar CRM Triggers | class.pmSugar.pmFunctions.php |
|
||||
| Get in process .pm | 2 | 14414793652a5d718b65590036026581 | pmTalend | Talend ETL Integration | class.pmTalend.pmFunctions.php |
|
||||
| Get in process .pm | 3 | 14414793652a5d718b65590036026581 | pmTrAlfresco | Alfresco DM Triggers v. 0.1 | class.pmTrAlfresco.pmFunctions.php |
|
||||
| Get in process .pm | 4 | 14414793652a5d718b65590036026581 | pmTrSharepoint | Sharepoint DWS Triggers v. 0.1 | class.pmTrSharepoint.pmFunctions.php |
|
||||
| Get in process .pm | 5 | 14414793652a5d718b65590036026581 | pmZimbra | Zimbra Triggers v. 0.1 | class.pmZimbra.pmFunctions.php |
|
||||
| Get in process .pmx | 0 | 1455892245368ebeb11c1a5001393784 | pmFunctions | ProcessMaker Functions | class.pmFunctions.php |
|
||||
| Get in process .pmx | 1 | 1455892245368ebeb11c1a5001393784 | pmSugar | Sugar CRM Triggers | class.pmSugar.pmFunctions.php |
|
||||
| Get in process .pmx | 2 | 1455892245368ebeb11c1a5001393784 | pmTalend | Talend ETL Integration | class.pmTalend.pmFunctions.php |
|
||||
| Get in process .pmx | 3 | 1455892245368ebeb11c1a5001393784 | pmTrAlfresco | Alfresco DM Triggers v. 0.1 | class.pmTrAlfresco.pmFunctions.php |
|
||||
| Get in process .pmx | 4 | 1455892245368ebeb11c1a5001393784 | pmTrSharepoint | Sharepoint DWS Triggers v. 0.1 | class.pmTrSharepoint.pmFunctions.php |
|
||||
| Get in process .pmx | 5 | 1455892245368ebeb11c1a5001393784 | pmZimbra | Zimbra Triggers v. 0.1 | class.pmZimbra.pmFunctions.php |
|
||||
|
||||
|
||||
Scenario Outline: Get a single Library
|
||||
And I request "project/14414793652a5d718b65590036026581/trigger-wizard/<lib_name>"
|
||||
And I request "project/<project>/trigger-wizard/<lib_name>"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
@@ -40,17 +47,23 @@ Feature: Group
|
||||
And that "lib_class_name" is set to "<lib_class_name>"
|
||||
|
||||
Examples:
|
||||
| lib_name | lib_title | lib_class_name |
|
||||
| pmFunctions | ProcessMaker Functions | class.pmFunctions.php |
|
||||
| pmTrSharepoint | Sharepoint DWS Triggers v. 0.1 | class.pmTrSharepoint.pmFunctions.php |
|
||||
| pmTrAlfresco | Alfresco DM Triggers v. 0.1 | class.pmTrAlfresco.pmFunctions.php |
|
||||
| pmZimbra | Zimbra Triggers v. 0.1 | class.pmZimbra.pmFunctions.php |
|
||||
| pmTalend | Talend ETL Integration | class.pmTalend.pmFunctions.php |
|
||||
| pmSugar | Sugar CRM Triggers | class.pmSugar.pmFunctions.php |
|
||||
| test_description | project | lib_name | lib_title | lib_class_name |
|
||||
| Get in process .pm | 14414793652a5d718b65590036026581 | pmFunctions | ProcessMaker Functions | class.pmFunctions.php |
|
||||
| Get in process .pm | 14414793652a5d718b65590036026581 | pmTrSharepoint | Sharepoint DWS Triggers v. 0.1 | class.pmTrSharepoint.pmFunctions.php |
|
||||
| Get in process .pm | 14414793652a5d718b65590036026581 | pmTrAlfresco | Alfresco DM Triggers v. 0.1 | class.pmTrAlfresco.pmFunctions.php |
|
||||
| Get in process .pm | 14414793652a5d718b65590036026581 | pmZimbra | Zimbra Triggers v. 0.1 | class.pmZimbra.pmFunctions.php |
|
||||
| Get in process .pm | 14414793652a5d718b65590036026581 | pmTalend | Talend ETL Integration | class.pmTalend.pmFunctions.php |
|
||||
| Get in process .pm | 14414793652a5d718b65590036026581 | pmSugar | Sugar CRM Triggers | class.pmSugar.pmFunctions.php |
|
||||
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmFunctions | ProcessMaker Functions | class.pmFunctions.php |
|
||||
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmTrSharepoint | Sharepoint DWS Triggers v. 0.1 | class.pmTrSharepoint.pmFunctions.php |
|
||||
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmTrAlfresco | Alfresco DM Triggers v. 0.1 | class.pmTrAlfresco.pmFunctions.php |
|
||||
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmZimbra | Zimbra Triggers v. 0.1 | class.pmZimbra.pmFunctions.php |
|
||||
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmTalend | Talend ETL Integration | class.pmTalend.pmFunctions.php |
|
||||
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmSugar | Sugar CRM Triggers | class.pmSugar.pmFunctions.php |
|
||||
|
||||
|
||||
Scenario Outline: Get a single Function of the Library
|
||||
And I request "project/14414793652a5d718b65590036026581/trigger-wizard/<lib_name>/<fn_name>"
|
||||
And I request "project/<project>/trigger-wizard/<lib_name>/<fn_name>"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
@@ -59,23 +72,33 @@ Feature: Group
|
||||
And that "fn_label" is set to "<fn_label>"
|
||||
|
||||
Examples:
|
||||
| lib_name | fn_name | fn_label |
|
||||
| pmFunctions | PMFAddAttachmentToArray | Add Element in Array |
|
||||
| pmTrSharepoint | createDWS | Create a DWS in Sharepoint server |
|
||||
| pmTrAlfresco | Checkin | Checkin document/file |
|
||||
| pmZimbra | createZimbraAppointment | Create Appointment |
|
||||
| pmTalend | executeTalendWebservice | Executes a Talend Web Service |
|
||||
| pmSugar | CreateSugarAccount | Creates SugarCRM entries from the Account module |
|
||||
| test_description | project | lib_name | fn_name | fn_label |
|
||||
| Get in process .pm | 14414793652a5d718b65590036026581 | pmFunctions | PMFAddAttachmentToArray | Add Element in Array |
|
||||
| Get in process .pm | 14414793652a5d718b65590036026581 | pmTrSharepoint | createDWS | Create a DWS in Sharepoint server |
|
||||
| Get in process .pm | 14414793652a5d718b65590036026581 | pmTrAlfresco | Checkin | Checkin document/file |
|
||||
| Get in process .pm | 14414793652a5d718b65590036026581 | pmZimbra | createZimbraAppointment | Create Appointment |
|
||||
| Get in process .pm | 14414793652a5d718b65590036026581 | pmTalend | executeTalendWebservice | Executes a Talend Web Service |
|
||||
| Get in process .pm | 14414793652a5d718b65590036026581 | pmSugar | CreateSugarAccount | Creates SugarCRM entries from the Account module |
|
||||
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmFunctions | PMFAddAttachmentToArray | Add Element in Array |
|
||||
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmTrSharepoint | createDWS | Create a DWS in Sharepoint server |
|
||||
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmTrAlfresco | Checkin | Checkin document/file |
|
||||
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmZimbra | createZimbraAppointment | Create Appointment |
|
||||
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmTalend | executeTalendWebservice | Executes a Talend Web Service |
|
||||
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmSugar | CreateSugarAccount | Creates SugarCRM entries from the Account module |
|
||||
|
||||
|
||||
|
||||
Scenario: Get a List of triggers of a project
|
||||
And I request "project/14414793652a5d718b65590036026581/triggers"
|
||||
Scenario Outline: Get a List of triggers of a project
|
||||
And I request "project/<project>/triggers"
|
||||
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 "array"
|
||||
And the json data is an empty array
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get list a triggers in process .pm | 14414793652a5d718b65590036026581 | 0 |
|
||||
| Get list a triggers in process .pmx | 1455892245368ebeb11c1a5001393784 | 3 |
|
||||
|
||||
|
||||
Scenario Outline: Create new Trigger: PMFAddAttachmentToArray
|
||||
@@ -98,7 +121,7 @@ Feature: Group
|
||||
}
|
||||
}
|
||||
"""
|
||||
And I request "project/14414793652a5d718b65590036026581/trigger-wizard/<lib_name>/<fn_name>"
|
||||
And I request "project/<project>/trigger-wizard/<lib_name>/<fn_name>"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 201
|
||||
And the response charset is "UTF-8"
|
||||
@@ -106,10 +129,10 @@ Feature: Group
|
||||
And store "tri_uid" in session array as variable "tri_uid<i>"
|
||||
|
||||
Examples:
|
||||
| i | lib_name | fn_name | tri_title | tri_description | tri_type | tri_params.input.arrayData | tri_params.input.index | tri_params.input.value | tri_params.input.suffix | tri_params.output.tri_answer |
|
||||
| 0 | pmFunctions | PMFAddAttachmentToArray | My trigger | | SCRIPT | array(1, 2) | 1 | 2 | My Copy({i}) | $respuesta |
|
||||
|
||||
|
||||
| i | project | lib_name | fn_name | tri_title | tri_description | tri_type | tri_params.input.arrayData | tri_params.input.index | tri_params.input.value | tri_params.input.suffix | tri_params.output.tri_answer |
|
||||
| 0 | 14414793652a5d718b65590036026581 | pmFunctions | PMFAddAttachmentToArray | My trigger | | SCRIPT | array(1, 2) | 1 | 2 | My Copy({i}) | $respuesta |
|
||||
|
||||
|
||||
Scenario Outline: Create new Trigger: createDWS
|
||||
Given POST this data:
|
||||
"""
|
||||
@@ -142,11 +165,10 @@ Scenario Outline: Create new Trigger: createDWS
|
||||
And store "tri_uid" in session array as variable "tri_uid<i>"
|
||||
|
||||
Examples:
|
||||
| i | Description | lib_name | fn_name | tri_title | tri_description | tri_type | tri_params.input.sharepointServer | tri_params.input.auth | tri_params.input.name | tri_params.input.users | tri_params.input.title | tri_params.input.documents | tri_params.output.tri_answer |
|
||||
| 1 | Create pmTrSharpoint | pmTrSharepoint | createDWS | Sharepoint 1 | | SCRIPT | @@SERVER | username:password | Test DWS | @@users | Test DWS | /files/test.doc | $respuesta |
|
||||
| 2 | Create a trigger without sending fields not required | pmTrSharepoint | createDWS | Sharepoint 2 | | SCRIPT | @@SERVER | username:password | Test DWS 1 | @@users | Test DWS | /files/test.doc | $respuesta |
|
||||
|
||||
|
||||
| i | project | Description | lib_name | fn_name | tri_title | tri_description | tri_type | tri_params.input.sharepointServer | tri_params.input.auth | tri_params.input.name | tri_params.input.users | tri_params.input.title | tri_params.input.documents | tri_params.output.tri_answer |
|
||||
| 1 | 14414793652a5d718b65590036026581 | Create pmTrSharpoint | pmTrSharepoint | createDWS | Sharepoint 1 | | SCRIPT | @@SERVER | username:password | Test DWS | @@users | Test DWS | /files/test.doc | $respuesta |
|
||||
| 2 | 14414793652a5d718b65590036026581 | Create a trigger without sending fields not required | pmTrSharepoint | createDWS | Sharepoint 2 | | SCRIPT | @@SERVER | username:password | Test DWS 1 | @@users | Test DWS | /files/test.doc | $respuesta |
|
||||
|
||||
|
||||
Scenario Outline: Update Trigger
|
||||
Given PUT this data:
|
||||
@@ -247,12 +269,17 @@ Scenario Outline: Create new Trigger: createDWS
|
||||
| 0 |
|
||||
| 1 |
|
||||
| 2 |
|
||||
|
||||
|
||||
|
||||
Scenario: Get a List of triggers of a project
|
||||
And I request "project/14414793652a5d718b65590036026581/triggers"
|
||||
Scenario Outline: Get a List of triggers of a project
|
||||
And I request "project/<project>/triggers"
|
||||
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 "array"
|
||||
And the json data is an empty array
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get list a triggers in process .pm | 14414793652a5d718b65590036026581 | 0 |
|
||||
| Get list a triggers in process .pmx | 1455892245368ebeb11c1a5001393784 | 3 |
|
||||
@@ -4,31 +4,43 @@ Feature: Testing triggers Main Tests
|
||||
a workspace with the process 251815090529619a99a2bf4013294414 already loaded
|
||||
the process name is "Test (Triggers, Activity)"
|
||||
there are two triggers 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 Triggers List when there are exactly two triggers
|
||||
Given I request "project/251815090529619a99a2bf4013294414/triggers"
|
||||
Scenario Outline: Get the Triggers List when there are exactly two triggers
|
||||
Given I request "project/<project>/triggers"
|
||||
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 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 response has <records> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get triggers in process .pm | 251815090529619a99a2bf4013294414 | 2 |
|
||||
| Get triggers in process .pmx | 1455892245368ebeb11c1a5001393784 | 3 |
|
||||
|
||||
|
||||
Scenario: Get a single trigger of a project
|
||||
the trigger is previously created
|
||||
Given I request "project/251815090529619a99a2bf4013294414/trigger/65317729852cf0ce339bfa4020392914"
|
||||
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 "object"
|
||||
And the "tri_title" property equals "For event: change description"
|
||||
And the "tri_description" property equals "Autogenerated For event: change description"
|
||||
Scenario Outline: Get a single trigger of a project the trigger is previously created
|
||||
Given I request "project/<project>/trigger/<trigger>"
|
||||
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 "object"
|
||||
And the "tri_title" property equals "<tri_title>"
|
||||
And the "tri_type" property equals "<tri_type>"
|
||||
And the "tri_description" property equals "<tri_description>"
|
||||
|
||||
Examples:
|
||||
| test_description | project | trigger | tri_title | tri_type | tri_description |
|
||||
| Get triggers in process .pm | 251815090529619a99a2bf4013294414 | 65317729852cf0ce339bfa4020392914 | For event: change description | SCRIPT | Autogenerated For event: change description |
|
||||
| Get triggers in process .pm | 251815090529619a99a2bf4013294414 | 75916963152cc6ab085a704081670580 | para eventos | SCRIPT | |
|
||||
| Get triggers in process .pmx | 1455892245368ebeb11c1a5001393784 | 712197294536bea56a8b4d0014148679 | trigger1 | SCRIPT | |
|
||||
| Get triggers in process .pmx | 1455892245368ebeb11c1a5001393784 | 950769923536bea6a39c833033416052 | trigger2 | SCRIPT | |
|
||||
| Get triggers in process .pmx | 1455892245368ebeb11c1a5001393784 | 350949312536bea73c53791057971272 | trigger3 | SCRIPT | |
|
||||
|
||||
|
||||
Scenario Outline: Create 5 new triggers
|
||||
@@ -48,12 +60,17 @@ Feature: Testing triggers Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | tri_number | tri_title | tri_description |tri_type | tri_webbot | tri_param |
|
||||
| Create trigger with title alphabetic and with webbot | 251815090529619a99a2bf4013294414 | 1 | nuevo trigger 1 | descripcion del primer trigger 1 |SCRIPT | @@user1 = @@USER_LOGGED; \n $x = rand(); | PRIVATE |
|
||||
| Create trigger with title alphanumeric and with webbot | 251815090529619a99a2bf4013294414 | 2 | otro trigger 2 | descripcion del segundo trigger 2 |SCRIPT | //Trigger with comments | PRIVATE |
|
||||
| Create trigger without webbot | 251815090529619a99a2bf4013294414 | 3 | otro trigger 3 | descripcion del tercer trigger 3 |SCRIPT | | PRIVATE |
|
||||
| Create trigger without tri type | 251815090529619a99a2bf4013294414 | 4 | otro trigger 4 | descripcion del tercer trigger 4 | | | PRIVATE |
|
||||
| Create trigger without tri param | 251815090529619a99a2bf4013294414 | 5 | otro trigger 5 | descripcion del tercer trigger 5 | | | |
|
||||
| test_description | project | tri_number | tri_title | tri_description |tri_type | tri_webbot | tri_param |
|
||||
| Create trigger with title alphabetic and with webbot .pm | 251815090529619a99a2bf4013294414 | 1 | nuevo trigger 1 | descripcion del primer trigger 1 |SCRIPT | @@user1 = @@USER_LOGGED; \n $x = rand(); | PRIVATE |
|
||||
| Create trigger with title alphanumeric and with webbot .pm | 251815090529619a99a2bf4013294414 | 2 | otro trigger 2 | descripcion del segundo trigger 2 |SCRIPT | //Trigger with comments | PRIVATE |
|
||||
| Create trigger without webbot .pm | 251815090529619a99a2bf4013294414 | 3 | otro trigger 3 | descripcion del tercer trigger 3 |SCRIPT | | PRIVATE |
|
||||
| Create trigger without tri type .pm | 251815090529619a99a2bf4013294414 | 4 | otro trigger 4 | descripcion del tercer trigger 4 | | | PRIVATE |
|
||||
| Create trigger without tri param .pm | 251815090529619a99a2bf4013294414 | 5 | otro trigger 5 | descripcion del tercer trigger 5 | | | |
|
||||
| Create trigger with title alphabetic and with webbot .pmx | 1455892245368ebeb11c1a5001393784 | 6 | nuevo trigger 1 | descripcion del primer trigger 1 |SCRIPT | @@user1 = @@USER_LOGGED; \n $x = rand(); | PRIVATE |
|
||||
| Create trigger with title alphanumeric and with webbot .pmx | 1455892245368ebeb11c1a5001393784 | 7 | otro trigger 2 | descripcion del segundo trigger 2 |SCRIPT | //Trigger with comments | PRIVATE |
|
||||
| Create trigger without webbot .pmx | 1455892245368ebeb11c1a5001393784 | 8 | otro trigger 3 | descripcion del tercer trigger 3 |SCRIPT | | PRIVATE |
|
||||
| Create trigger without tri type .pmx | 1455892245368ebeb11c1a5001393784 | 9 | otro trigger 4 | descripcion del tercer trigger 4 | | | PRIVATE |
|
||||
| Create trigger without tri param .pmx | 1455892245368ebeb11c1a5001393784 | 10 | otro trigger 5 | descripcion del tercer trigger 5 | | | |
|
||||
|
||||
|
||||
Scenario: Create a new triggers with same name
|
||||
@@ -72,14 +89,18 @@ Feature: Testing triggers Main Tests
|
||||
And the response status message should have the following text "same name"
|
||||
|
||||
|
||||
Scenario: Get the Triggers List when there are 7 records
|
||||
Given I request "project/251815090529619a99a2bf4013294414/triggers"
|
||||
Scenario Outline: Get the Triggers List when there are 7 records
|
||||
Given I request "project/<project>/triggers"
|
||||
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 7 records
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get triggers in process .pm | 251815090529619a99a2bf4013294414 | 7 |
|
||||
| Get triggers in process .pmx | 1455892245368ebeb11c1a5001393784 | 8 |
|
||||
|
||||
|
||||
Scenario Outline: Update the Triggers and then check if the values had changed
|
||||
@@ -101,11 +122,14 @@ Feature: Testing triggers Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | tri_number | tri_title | tri_description |tri_type | tri_webbot | tri_param |
|
||||
| Update title | 251815090529619a99a2bf4013294414 | 1 | Update nuevo trigger 1 @#$%^&*½²³€¼½ | descripcion del primer trigger 1 |SCRIPT | @@user1 = @@USER_LOGGED; \n $x = rand(); | PRIVATE |
|
||||
| Update Description | 251815090529619a99a2bf4013294414 | 2 | otro trigger 2 | Update descripcion del segundo trigger 2 @#$%^&*½²³€¼½ |SCRIPT | //Trigger with comments | PRIVATE |
|
||||
| Update webbot | 251815090529619a99a2bf4013294414 | 3 | otro trigger 3 | descripcion del tercer trigger 3 |SCRIPT | //Trigger with comments update | PRIVATE |
|
||||
|
||||
| test_description | project | tri_number | tri_title | tri_description |tri_type | tri_webbot | tri_param |
|
||||
| Update title .pm | 251815090529619a99a2bf4013294414 | 1 | Update nuevo trigger 1 @#$%^&*½²³€¼½ | descripcion del primer trigger 1 |SCRIPT | @@user1 = @@USER_LOGGED; \n $x = rand(); | PRIVATE |
|
||||
| Update Description .pm | 251815090529619a99a2bf4013294414 | 2 | otro trigger 2 | Update descripcion del segundo trigger 2 @#$%^&*½²³€¼½ |SCRIPT | //Trigger with comments | PRIVATE |
|
||||
| Update webbot .pm | 251815090529619a99a2bf4013294414 | 3 | otro trigger 3 | descripcion del tercer trigger 3 |SCRIPT | //Trigger with comments update | PRIVATE |
|
||||
| Update title .pmx | 1455892245368ebeb11c1a5001393784 | 6 | Update nuevo trigger 1 @#$%^&*½²³€¼½ | descripcion del primer trigger 1 |SCRIPT | @@user1 = @@USER_LOGGED; \n $x = rand(); | PRIVATE |
|
||||
| Update Description .pmx | 1455892245368ebeb11c1a5001393784 | 7 | otro trigger 2 | Update descripcion del segundo trigger 2 @#$%^&*½²³€¼½ |SCRIPT | //Trigger with comments | PRIVATE |
|
||||
| Update webbot .pmx | 1455892245368ebeb11c1a5001393784 | 8 | otro trigger 3 | descripcion del tercer trigger 3 |SCRIPT | //Trigger with comments update | PRIVATE |
|
||||
|
||||
|
||||
|
||||
Scenario Outline: Get a single triggers and check some properties
|
||||
@@ -120,11 +144,14 @@ Feature: Testing triggers Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| project | tri_number | tri_title | tri_description | tri_webbot |
|
||||
| 251815090529619a99a2bf4013294414 | 1 | Update nuevo trigger 1 @#$%^&*½²³€¼½ | descripcion del primer trigger 1 | @@user1 = @@USER_LOGGED; \n $x = rand(); |
|
||||
| 251815090529619a99a2bf4013294414 | 2 | otro trigger 2 | Update descripcion del segundo trigger 2 @#$%^&*½²³€¼½ | //Trigger with comments |
|
||||
| 251815090529619a99a2bf4013294414 | 3 | otro trigger 3 | descripcion del tercer trigger 3 | //Trigger with comments update |
|
||||
|
||||
| test_description | project | tri_number | tri_title | tri_description | tri_webbot |
|
||||
| Get after update .pm | 251815090529619a99a2bf4013294414 | 1 | Update nuevo trigger 1 @#$%^&*½²³€¼½ | descripcion del primer trigger 1 | @@user1 = @@USER_LOGGED; \n $x = rand(); |
|
||||
| Get after update .pm | 251815090529619a99a2bf4013294414 | 2 | otro trigger 2 | Update descripcion del segundo trigger 2 @#$%^&*½²³€¼½ | //Trigger with comments |
|
||||
| Get after update .pm | 251815090529619a99a2bf4013294414 | 3 | otro trigger 3 | descripcion del tercer trigger 3 | //Trigger with comments update |
|
||||
| Get after update .pmx | 1455892245368ebeb11c1a5001393784 | 6 | Update nuevo trigger 1 @#$%^&*½²³€¼½ | descripcion del primer trigger 1 | @@user1 = @@USER_LOGGED; \n $x = rand(); |
|
||||
| Get after update .pmx | 1455892245368ebeb11c1a5001393784 | 7 | otro trigger 2 | Update descripcion del segundo trigger 2 @#$%^&*½²³€¼½ | //Trigger with comments |
|
||||
| Get after update .pmx | 1455892245368ebeb11c1a5001393784 | 8 | otro trigger 3 | descripcion del tercer trigger 3 | //Trigger with comments update |
|
||||
|
||||
|
||||
|
||||
Scenario Outline: Delete all Triggers created previously in this script
|
||||
@@ -142,14 +169,22 @@ Feature: Testing triggers Main Tests
|
||||
| 251815090529619a99a2bf4013294414 | 3 |
|
||||
| 251815090529619a99a2bf4013294414 | 4 |
|
||||
| 251815090529619a99a2bf4013294414 | 5 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 6 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 7 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 8 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 9 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 10 |
|
||||
|
||||
|
||||
Scenario: Get the Triggers List when there are exactly two triggers
|
||||
Given I request "project/251815090529619a99a2bf4013294414/triggers"
|
||||
Scenario Outline: Get the Triggers List when there are exactly two triggers
|
||||
Given I request "project/<project>/triggers"
|
||||
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 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 response has <records> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get triggers in process .pm | 251815090529619a99a2bf4013294414 | 2 |
|
||||
| Get triggers in process .pmx | 1455892245368ebeb11c1a5001393784 | 3 |
|
||||
@@ -4,19 +4,25 @@ Feature: Process variables Resources
|
||||
Requirements:
|
||||
a workspace with the process 14414793652a5d718b65590036026581 ("Sample Project #1") already loaded
|
||||
there are three activities 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 a List of process variables
|
||||
And I request "project/14414793652a5d718b65590036026581/process-variables"
|
||||
Scenario Outline: Get a List of process variables
|
||||
And I request "project/<project>/process-variables"
|
||||
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 "array"
|
||||
And the json data is an empty array
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get variables of process .pm | 14414793652a5d718b65590036026581 | 0 |
|
||||
| Get variables of process .pmx | 1455892245368ebeb11c1a5001393784 | 0 |
|
||||
|
||||
|
||||
Scenario Outline: Create variables for a Project (Normal creation of a process variable)
|
||||
Given POST this data:
|
||||
@@ -33,7 +39,7 @@ Scenario Outline: Create variables for a Project (Normal creation of a process v
|
||||
"var_accepted_values": "<var_accepted_values>"
|
||||
}
|
||||
"""
|
||||
And I request "project/14414793652a5d718b65590036026581/process-variable"
|
||||
And I request "project/<project>/process-variable"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 201
|
||||
And the response charset is "UTF-8"
|
||||
@@ -41,13 +47,19 @@ Scenario Outline: Create variables for a Project (Normal creation of a process v
|
||||
And store "var_uid" in session array as variable "var_uid_<var_uid_number>"
|
||||
|
||||
Examples:
|
||||
| test_description | var_uid_number | var_name | var_field_type | var_field_size | var_label | var_dbconnection | var_sql | var_null | var_default | var_accepted_values |
|
||||
| Create a integer | 1 | integer1 | integer | 12 | Texto 1 | | | 0 | | |
|
||||
| Create a boolean | 2 | boolean1 | boolean | 10 | Fecha | | | 0 | | |
|
||||
| Create a string | 3 | string1 | string | 12 | Dropdown 1 | | SELECT IC_UID, IC_NAME FROM ISO_COUNTRY | 0 | | |
|
||||
| Create a float | 4 | float1 | float | 12 | Texto 1 | | | 0 | | |
|
||||
| Create a datetime | 5 | datetime1 | datetime | 12 | Texto 1 | | | 0 | | |
|
||||
| Create a date_of_birth | 6 | date_of_birth1 | date_of_birth | 12 | Texto 1 | | | 0 | | |
|
||||
| test_description | var_uid_number | project | var_name | var_field_type | var_field_size | var_label | var_dbconnection | var_sql | var_null | var_default | var_accepted_values |
|
||||
| Create a integer .pm | 1 | 14414793652a5d718b65590036026581 | integer1 | integer | 12 | Texto 1 | | | 0 | | |
|
||||
| Create a boolean .pm | 2 | 14414793652a5d718b65590036026581 | boolean1 | boolean | 10 | Fecha | | | 0 | | |
|
||||
| Create a string .pm | 3 | 14414793652a5d718b65590036026581 | string1 | string | 12 | Dropdown 1 | | SELECT IC_UID, IC_NAME FROM ISO_COUNTRY | 0 | | |
|
||||
| Create a float .pm | 4 | 14414793652a5d718b65590036026581 | float1 | float | 12 | Texto 1 | | | 0 | | |
|
||||
| Create a datetime .pm | 5 | 14414793652a5d718b65590036026581 | datetime1 | datetime | 12 | Texto 1 | | | 0 | | |
|
||||
| Create a date_of_birth .pm | 6 | 14414793652a5d718b65590036026581 | date_of_birth1 | date_of_birth | 12 | Texto 1 | | | 0 | | |
|
||||
| Create a integer .pmx | 7 | 1455892245368ebeb11c1a5001393784 | integer1 | integer | 12 | Texto 1 | | | 0 | | |
|
||||
| Create a boolean .pmx | 8 | 1455892245368ebeb11c1a5001393784 | boolean1 | boolean | 10 | Fecha | | | 0 | | |
|
||||
| Create a string .pmx | 9 | 1455892245368ebeb11c1a5001393784 | string1 | string | 12 | Dropdown 1 | | SELECT IC_UID, IC_NAME FROM ISO_COUNTRY | 0 | | |
|
||||
| Create a float .pmx | 10 | 1455892245368ebeb11c1a5001393784 | float1 | float | 12 | Texto 1 | | | 0 | | |
|
||||
| Create a datetime .pmx | 11 | 1455892245368ebeb11c1a5001393784 | datetime1 | datetime | 12 | Texto 1 | | | 0 | | |
|
||||
| Create a date_of_birth .pmx | 12 | 1455892245368ebeb11c1a5001393784 | date_of_birth1 | date_of_birth | 12 | Texto 1 | | | 0 | | |
|
||||
|
||||
|
||||
Scenario Outline: Update a process variable
|
||||
@@ -66,40 +78,50 @@ Scenario Outline: Update a process variable
|
||||
"""
|
||||
And that I want to update a resource with the key "var_uid" stored in session array as variable "var_uid_<var_uid_number>"
|
||||
|
||||
And I request "project/14414793652a5d718b65590036026581/process-variable"
|
||||
And I request "project/<project>/process-variable"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
|
||||
Examples:
|
||||
| test_description | var_uid_number | var_field_type | var_field_size | var_label | var_dbconnection | var_sql | var_null | var_default | var_accepted_values |
|
||||
| Update a text | 1 | string | 12 | Texto 1 - Updated | | | 0 | | |
|
||||
| Update a date | 2 | date | 10 | Fecha - Updated | | | 0 | | |
|
||||
| Update a dropdown | 3 | string | 12 | Dropdown 1 - Updated | | SELECT IC_UID, IC_NAME FROM ISO_COUNTRY | 0 | | |
|
||||
|
||||
|
||||
| test_description | var_uid_number | project | var_field_type | var_field_size | var_label | var_dbconnection | var_sql | var_null | var_default | var_accepted_values |
|
||||
| Update a text .pm | 1 | 14414793652a5d718b65590036026581 | string | 12 | Texto 1 - Updated | | | 0 | | |
|
||||
| Update a date .pm | 2 | 14414793652a5d718b65590036026581 | date | 10 | Fecha - Updated | | | 0 | | |
|
||||
| Update a dropdown .pm | 3 | 14414793652a5d718b65590036026581 | string | 12 | Dropdown 1 - Updated | | SELECT IC_UID, IC_NAME FROM ISO_COUNTRY | 0 | | |
|
||||
| Update a text .pmx | 7 | 1455892245368ebeb11c1a5001393784 | string | 12 | Texto 1 - Updated | | | 0 | | |
|
||||
| Update a date .pmx | 8 | 1455892245368ebeb11c1a5001393784 | date | 10 | Fecha - Updated | | | 0 | | |
|
||||
| Update a dropdown .pmx | 9 | 1455892245368ebeb11c1a5001393784 | string | 12 | Dropdown 1 - Updated | | SELECT IC_UID, IC_NAME FROM ISO_COUNTRY | 0 | | |
|
||||
|
||||
Scenario: Get a List of process variables
|
||||
And I request "project/14414793652a5d718b65590036026581/process-variables"
|
||||
|
||||
Scenario Outline: Get a List of process variables
|
||||
And I request "project/<project>/process-variables"
|
||||
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 "array"
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get variables of process .pm | 14414793652a5d718b65590036026581 | 6 |
|
||||
| Get variables of process .pmx | 1455892245368ebeb11c1a5001393784 | 6 |
|
||||
|
||||
|
||||
Scenario Outline: Get a single process variable
|
||||
And that I want to get a resource with the key "var_uid" stored in session array as variable "var_uid_<var_uid_number>"
|
||||
And I request "project/14414793652a5d718b65590036026581/process-variable"
|
||||
And I request "project/<project>/process-variable"
|
||||
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:
|
||||
| test_description | var_uid_number | var_name | var_field_type | var_field_size | var_label | var_dbconnection | var_sql | var_null | var_default | var_accepted_values |
|
||||
| Update a text | 1 | texto1 | text | 12 | Texto 1 - Updated | | | 0 | | |
|
||||
| Update a date | 2 | date1 | date | 10 | Fecha - Updated | | | 0 | | |
|
||||
| Update a dropdown | 3 | dropdown1 | dropdown | 12 | Dropdown 1 - Updated | | SELECT IC_UID, IC_NAME FROM ISO_COUNTRY | 0 | | |
|
||||
|
||||
| test_description | var_uid_number | project | var_name | var_field_type | var_field_size | var_label | var_dbconnection | var_sql | var_null | var_default | var_accepted_values |
|
||||
| Get after update of .pm | 1 | 14414793652a5d718b65590036026581 | texto1 | text | 12 | Texto 1 - Updated | | | 0 | | |
|
||||
| Get after update of .pm | 2 | 14414793652a5d718b65590036026581 | date1 | date | 10 | Fecha - Updated | | | 0 | | |
|
||||
| Get after update of .pm | 3 | 14414793652a5d718b65590036026581 | dropdown1 | dropdown | 12 | Dropdown 1 - Updated | | SELECT IC_UID, IC_NAME FROM ISO_COUNTRY | 0 | | |
|
||||
| Get after update of .pmx | 7 | 1455892245368ebeb11c1a5001393784 | date_of_birth1 | string | 12 | Texto 1 - Updated | | | 0 | | |
|
||||
| Get after update of .pmx | 8 | 1455892245368ebeb11c1a5001393784 | integer1 | date | 10 | Fecha - Updated | | | 0 | | |
|
||||
| Get after update of .pmx | 9 | 1455892245368ebeb11c1a5001393784 | boolean1 | string | 12 | Dropdown 1 - Updated | | SELECT IC_UID, IC_NAME FROM ISO_COUNTRY | 0 | | |
|
||||
|
||||
|
||||
Scenario Outline: Execute query of variables with SQL
|
||||
Given POST this data:
|
||||
@@ -108,38 +130,50 @@ Scenario Outline: Execute query of variables with SQL
|
||||
|
||||
}
|
||||
"""
|
||||
And I request "project/14414793652a5d718b65590036026581/process-variable/<var_name>/execute-query"
|
||||
And I request "project/<project>/process-variable/<var_name>/execute-query"
|
||||
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 "array"
|
||||
|
||||
Examples:
|
||||
| test_description | var_uid_number | var_name | var_field_type | var_field_size | var_label | var_dbconnection | var_sql | var_null | var_default | var_accepted_values |
|
||||
| Create a dropdown | 3 | string1 | string | 12 | Dropdown 1 | | SELECT IC_UID, IC_NAME FROM ISO_COUNTRY | 0 | | |
|
||||
| test_description | var_uid_number | project | var_name | var_field_type | var_field_size | var_label | var_dbconnection | var_sql | var_null | var_default | var_accepted_values |
|
||||
| Create a dropdown | 3 | 14414793652a5d718b65590036026581 | string1 | string | 12 | Dropdown 1 | | SELECT IC_UID, IC_NAME FROM ISO_COUNTRY | 0 | | |
|
||||
| Create a dropdown | 9 | 1455892245368ebeb11c1a5001393784 | string1 | string | 12 | Dropdown 1 | | SELECT IC_UID, IC_NAME FROM ISO_COUNTRY | 0 | | |
|
||||
|
||||
|
||||
Scenario Outline: Delete a previously created process variable
|
||||
Given that I want to delete a resource with the key "var_uid" stored in session array as variable "var_uid_<var_uid_number>"
|
||||
And I request "project/14414793652a5d718b65590036026581/process-variable"
|
||||
And I request "project/<project>/process-variable"
|
||||
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 | var_uid_number |
|
||||
| Create a integer | 1 |
|
||||
| Create a boolean | 2 |
|
||||
| Create a string | 3 |
|
||||
| Create a float | 4 |
|
||||
| Create a datetime | 5 |
|
||||
| Create a date_of_birth | 6 |
|
||||
| test_description | var_uid_number | project |
|
||||
| Create a integer .pm | 1 | 14414793652a5d718b65590036026581 |
|
||||
| Create a boolean .pm | 2 | 14414793652a5d718b65590036026581 |
|
||||
| Create a string .pm | 3 | 14414793652a5d718b65590036026581 |
|
||||
| Create a float .pm | 4 | 14414793652a5d718b65590036026581 |
|
||||
| Create a datetime .pm | 5 | 14414793652a5d718b65590036026581 |
|
||||
| Create a date_of_birth .pm | 6 | 14414793652a5d718b65590036026581 |
|
||||
| Create a integer .pmx | 7 | 1455892245368ebeb11c1a5001393784 |
|
||||
| Create a boolean .pmx | 8 | 1455892245368ebeb11c1a5001393784 |
|
||||
| Create a string .pmx | 9 | 1455892245368ebeb11c1a5001393784 |
|
||||
| Create a float .pmx | 10 | 1455892245368ebeb11c1a5001393784 |
|
||||
| Create a datetime .pmx | 11 | 1455892245368ebeb11c1a5001393784 |
|
||||
| Create a date_of_birth .pmx | 12 | 1455892245368ebeb11c1a5001393784 |
|
||||
|
||||
|
||||
Scenario: Get a List of process variables
|
||||
And I request "project/14414793652a5d718b65590036026581/process-variables"
|
||||
Scenario Outline: Get a List of process variables
|
||||
And I request "project/<project>/process-variables"
|
||||
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 "array"
|
||||
And the json data is an empty array
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get variables of process .pm | 14414793652a5d718b65590036026581 | 0 |
|
||||
| Get variables of process .pmx | 1455892245368ebeb11c1a5001393784 | 0 |
|
||||
Reference in New Issue
Block a user