Actualizacion de los Features Assignee y Process Permissions

This commit is contained in:
Wendy Nestor
2014-02-06 14:49:43 -04:00
parent 34773c2922
commit 38b68e21a2
3 changed files with 14 additions and 14 deletions

View File

@@ -7,7 +7,7 @@ Feature: Assignee Resources
Given that I have a valid access_token
Scenario Outline: Get the list of available users and groups to be assigned to an activity
Check that there are exactly 82 available users for task "Task 1"
Check that there are exactly 79 available users for task "Task 1"
Given I request "project/<project>/activity/<activity>/available-assignee"
Then the response status code should be 200
And the response charset is "UTF-8"
@@ -19,7 +19,7 @@ Feature: Assignee Resources
Examples:
| test_description | project | activity | records | aas_uid | aas_type |
| check if the list of possible users and groups to be assigned is correct | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 81 | 54731929352d56741de9d42002704749 | group |
| check if the list of possible users and groups to be assigned is correct | 4224292655297723eb98691001100052 | 65496814252977243d57684076211485 | 79 | 54731929352d56741de9d42002704749 | group |
Scenario Outline: Get the list of available users and groups to be assigned to an activity using filter
Given I request "project/4224292655297723eb98691001100052/activity/65496814252977243d57684076211485/available-assignee?filter=<filter>&start=<start>&limit=<limit>"

View File

@@ -7,7 +7,7 @@ Feature: Assignee Resources
Given that I have a valid access_token
Scenario Outline: Get the list of available users and groups to be assigned to an activity
Check that there are exactly 82 available users for task "Task 1"
Check that there are exactly 79 available users for task "Task 1"
Given I request "project/<project>/activity/<activity>/available-assignee"
Then the response status code should be 200
And the response charset is "UTF-8"

View File

@@ -89,9 +89,9 @@ Feature: Process Permissions Resources Tests
And the response charset is "UTF-8"
And the content type is "application/json"
And the type is "object"
And the "USR_UID" property equals "<usr_uid>"
And the "OP_USER_RELATION" property equals "<op_user_relation>"
And the "OP_OBJ_TYPE" property equals "<op_obj_type>"
And the "usr_uid" property equals "<usr_uid>"
And the "op_user_relation" property equals "<op_user_relation>"
And the "op_obj_type" property equals "<op_obj_type>"
Examples:
@@ -171,14 +171,14 @@ Feature: Process Permissions Resources Tests
And the response charset is "UTF-8"
And the content type is "application/json"
And the type is "object"
And the "OP_CASE_STATUS" property equals "<op_case_status>"
And the "TAS_UID" property equals "<tas_uid>"
And the "OP_USER_RELATION" property equals "<op_user_relation>"
And the "USR_UID" property equals "<usr_uid>"
And the "OP_TASK_SOURCE" property equals "<op_task_source>"
And the "OP_PARTICIPATE" property equals "<op_participate>"
And the "OP_OBJ_TYPE" property equals "<op_obj_type>"
And the "OP_ACTION" property equals "<op_action>"
And the "op_case_status" property equals "<op_case_status>"
And the "tas_uid" property equals "<tas_uid>"
And the "op_user_relation" property equals "<op_user_relation>"
And the "usr_uid" property equals "<usr_uid>"
And the "op_task_source" property equals "<op_task_source>"
And the "op_participate" property equals "<op_participate>"
And the "op_obj_type" property equals "<op_obj_type>"
And the "op_action" property equals "<op_action>"
Examples: