Arreglos en scenarios debido a validaciones en los features category, assignee y case scheduler
This commit is contained in:
@@ -33,7 +33,7 @@ Scenario: Create a new Categories
|
||||
}
|
||||
"""
|
||||
And I request "project/category"
|
||||
Then the response status code should be 200
|
||||
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"
|
||||
|
||||
@@ -36,7 +36,7 @@ Scenario Outline: Create a new Categories
|
||||
}
|
||||
"""
|
||||
And I request "project/category"
|
||||
Then the response status code should be 200
|
||||
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"
|
||||
@@ -71,7 +71,7 @@ Scenario: Create Category with same name
|
||||
"""
|
||||
And I request "project/category"
|
||||
Then the response status code should be 400
|
||||
And the response status message should have the following text "Duplicate"
|
||||
And the response status message should have the following text "exist"
|
||||
|
||||
|
||||
Scenario Outline: Update the Category created in this script
|
||||
@@ -103,7 +103,7 @@ Scenario Outline: Update the Category putting the same name
|
||||
"""
|
||||
And I request "project/category/cat_uid" with the key "cat_uid" stored in session array as variable "cat_uid_<cat_uid_number>"
|
||||
Then the response status code should be 400
|
||||
And the response status message should have the following text "Duplicate Process Category"
|
||||
And the response status message should have the following text "exist"
|
||||
|
||||
Examples:
|
||||
|
||||
|
||||
@@ -162,7 +162,7 @@ Scenario Outline: Get a single user or group of an activity
|
||||
|
||||
#BUG 15041 Inactive Groups are display in list of available groups Accounting
|
||||
|
||||
Scenario Outline: BUG 15041 Get the list of available groups
|
||||
Scenario Outline: BUG 15041 Get the list of available groups- Task2
|
||||
Given I request "project/<project>/activity/<activity>/available-assignee?filter=<filter>&start=<start>&limit=<limit>"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
@@ -174,11 +174,9 @@ Scenario Outline: BUG 15041 Get the list of available groups
|
||||
|
||||
Examples:
|
||||
| test_description | project | activity | filter | start | limit | records | aas_uid | aas_type|
|
||||
| "Accounting" group is available | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | Accounting | 0 | 50 | 1 | 68911670852a22d93c22c06005808422 | group |
|
||||
| "Accounting" group is available | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | Accounting | 0 | 50 | 1 | 54731929352d56741de9d42002704749 | group |
|
||||
|
||||
|
||||
|
||||
|
||||
Scenario: BUG 15041 Update Group to disable group
|
||||
Given PUT this data:
|
||||
"""
|
||||
@@ -201,12 +199,10 @@ Scenario Outline: BUG 15041 Get the list of available users and groups to be ass
|
||||
And the content type is "application/json"
|
||||
And the type is "array"
|
||||
And the response has <records> records
|
||||
And the "aas_uid" property in row 0 equals "<aas_uid>"
|
||||
And the "aas_type" property in row 0 equals "<aas_type>"
|
||||
|
||||
|
||||
Examples:
|
||||
| test_description | project | activity | filter | start | limit | records | aas_uid | aas_type|
|
||||
| "Accounting" group is available | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | Accounting | 0 | 50 | 0 | 68911670852a22d93c22c06005808422 | group |
|
||||
| test_description | project | activity | filter | start | limit | records |
|
||||
| "Accounting" group is available | 4224292655297723eb98691001100052 | 68911670852a22d93c22c06005808422 | Accounting | 0 | 50 | 0 |
|
||||
|
||||
|
||||
Scenario: BUG 15041 Update Group to enable group
|
||||
|
||||
@@ -217,32 +217,53 @@ Scenario Outline: Delete all case scheduler of a project created previously in t
|
||||
#
|
||||
# | test_description | sch_uid_number |
|
||||
# | Create with Daily | 1 |
|
||||
|
||||
Scenario Outline: Create new Projects with event case scheduler
|
||||
Given POST data from file "<project_template>"
|
||||
And I request "projects"
|
||||
Then the response status code should be 201
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
And the type is "array"
|
||||
And store "new_uid" in session array as variable "project_new_uid_<project_new_uid_number>" where an object has "object" equal to "project"
|
||||
|
||||
Examples:
|
||||
#
|
||||
#
|
||||
#Scenario Outline: Create new Projects with event case scheduler
|
||||
# Given POST data from file "<project_template>"
|
||||
# And I request "projects"
|
||||
# Then the response status code should be 201
|
||||
# And the response charset is "UTF-8"
|
||||
# And the content type is "application/json"
|
||||
# And the type is "array"
|
||||
# And store "new_uid" in session array as variable "project_new_uid_<project_new_uid_number>" where an object has "object" equal to "project"
|
||||
# And store "new_uid" in session array as variable "diagram_new_uid_<project_new_uid_number>" where an object has "object" equal to "diagram"
|
||||
# And store "new_uid" in session array as variable "activity_new_uid_<project_new_uid_number>" where an object has "object" equal to "activity"
|
||||
# And store "new_uid" in session array as variable "evn_uid_<evn_uid_number>" where an object has "object" equal to "event"
|
||||
# And store "new_uid" in session array as variable "flow_new_uid_<project_new_uid_number>" where an object has "object" equal to "flow"
|
||||
#
|
||||
# Examples:
|
||||
#
|
||||
# | Description | project_new_uid_number | evn_uid_number | project_template |
|
||||
# | Create a new project with event case scheduler | 1 | 3 | project_bug_case_scheduler1.json |
|
||||
# | Create a new project with event case scheduler | 2 | 4 | project_bug_case_scheduler2.json |
|
||||
#
|
||||
#
|
||||
#Scenario Outline: Delete all Events created previously in this script
|
||||
# Given that I want to delete a resource with the key "evn_uid" stored in session array as variable "evn_uid_<evn_uid_number>"
|
||||
# And I request "project/<project_new_uid_number>/event"
|
||||
# Then the response status code should be 200
|
||||
# And the response charset is "UTF-8"
|
||||
# And the type is "object"
|
||||
#
|
||||
# Examples:
|
||||
#
|
||||
# | project_new_uid_number | evn_uid_number |
|
||||
# | 1 | 3 |
|
||||
# | 2 | 4 |
|
||||
#
|
||||
#
|
||||
#Scenario Outline: Delete a Project previously created in this script
|
||||
# Given that I want to delete a resource with the key "new_uid" stored in session array as variable "project_new_uid_<project_new_uid_number>" in position 0
|
||||
# And I request "projects"
|
||||
# And the content type is "application/json"
|
||||
# Then the response status code should be 200
|
||||
# And the response charset is "UTF-8"
|
||||
# And the type is "object"
|
||||
#
|
||||
# Examples:
|
||||
#
|
||||
# | project_new_uid_number |
|
||||
# | 1 |
|
||||
# | 2 |
|
||||
|
||||
| Description | project_new_uid_number | project_template |
|
||||
| Create a new project with event case scheduler | 1 | project_bug_case_scheduler1.json |
|
||||
| Create a new project with event case scheduler | 2 | project_bug_case_scheduler2.json |
|
||||
|
||||
Scenario Outline: Delete a Project previously created in this script
|
||||
Given that I want to delete a resource with the key "new_uid" stored in session array as variable "project_new_uid_<project_new_uid_number>" in position 0
|
||||
And I request "projects"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the type is "object"
|
||||
|
||||
Examples:
|
||||
|
||||
| project_new_uid_number |
|
||||
| 1 |
|
||||
| 2 |
|
||||
|
||||
Reference in New Issue
Block a user