Merged in wnestor/processmaker (pull request #581)
Modificacion por validaciones y cambios en configuracion
This commit is contained in:
@@ -44,20 +44,21 @@ Scenario Outline: Create a 13 case scheduler for a project
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | sch_uid_number | sch_del_user_name | tas_uid | sch_name | sch_option | sch_start_date | sch_end_date | sch_start_time | sch_week_days | sch_start_day | sch_start_day_opt_1 | sch_months | sch_start_day_opt_2 | sch_repeat_every |
|
||||
| Create with Daily | 1 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Daily 123@#$ | 1 | 2014-01-30 | 2014-02-20 | 12:00 | | | | | | |
|
||||
| Create with Weekly, sch_week_days=monday | 2 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Weekly monday 345%$# | 2 | 2014-02-20 | 2014-03-20 | 08:00 | 1 | | | | | |
|
||||
| Create with Weekly, sch_week_days=tuesday, wednesday, thursday, friday, saturday, sunday | 3 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Weekly 345%$# | 2 | 2014-02-20 | 2014-03-20 | 08:00 | 2\|3\|4\|5\|6\|7 | | | | | |
|
||||
| Create with Monthly and day of month, day of month=1, of the month(s)=3,4 | 4 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 1 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 1 | 15 | 3\|4 | | |
|
||||
| Create with Monthly and day of month, day of month=1, of the month=1,2,5,6,7,8,9,10,11,12 | 5 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 2 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 1 | 15 | 1\|2\|5\|6\|7\|8\|9\|10\|11\|12 | | |
|
||||
| Create with Monthly and the day=first and Monday | 6 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 3 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 1\|7 | |
|
||||
| Create with Monthly and the day=second and Saturday | 7 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 4 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 2\|6 | |
|
||||
| Create with Monthly and the day=Third and Friday | 8 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 5 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 3\|5 | |
|
||||
| Create with Monthly and the day=second and Thursday | 9 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 6 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 2\|4 | |
|
||||
| Create with Monthly and the day=last and Wednesday | 10 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 7 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 5\|3 | |
|
||||
| Create with Monthly and the day=last and Wednesday, of the month=1,2,6,7,8,9,10,11,12 | 11 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 8 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 1\|2\|6\|7\|8\|9\|10\|11\|12 | 5\|3 | |
|
||||
| Create with One time only | 12 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-One Time only 678%$@ | 4 | | | 20:00 | | | | | | |
|
||||
| Create with Every | 13 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 12.30 |
|
||||
| test_description | sch_uid_number | sch_del_user_name | tas_uid | sch_name | sch_option | sch_start_date | sch_end_date | sch_start_time | sch_week_days | sch_start_day | sch_start_day_opt_1 | sch_months | sch_start_day_opt_2 | sch_repeat_every |
|
||||
| Create with Daily | 1 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Daily 123@#$ | 1 | 2014-01-30 | 2014-02-20 | 12:00 | | | | | | |
|
||||
| Create with Weekly, sch_week_days=monday | 2 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Weekly monday 345%$# | 2 | 2014-02-20 | 2014-03-20 | 08:00 | 1 | | | | | |
|
||||
| Create with Weekly, sch_week_days=tuesday, wednesday, thursday, friday, saturday, sunday | 3 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Weekly 345%$# | 2 | 2014-02-20 | 2014-03-20 | 08:00 | 2\|3\|4\|5\|6\|7 | | | | | |
|
||||
| Create with Monthly and day of month, day of month=1, of the month(s)=3,4 | 4 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 1 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 1 | 15 | 3\|4 | | |
|
||||
| Create with Monthly and day of month, day of month=1, of the month=1,2,5,6,7,8,9,10,11,12 | 5 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 2 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 1 | 15 | 1\|2\|5\|6\|7\|8\|9\|10\|11\|12 | | |
|
||||
| Create with Monthly and the day=first and Monday | 6 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 3 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 1\|7 | |
|
||||
| Create with Monthly and the day=second and Saturday | 7 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 4 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 2\|6 | |
|
||||
| Create with Monthly and the day=Third and Friday | 8 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 5 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 3\|5 | |
|
||||
| Create with Monthly and the day=second and Thursday | 9 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 6 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 2\|4 | |
|
||||
| Create with Monthly and the day=last and Wednesday | 10 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 7 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 3\|4\|5 | 5\|3 | |
|
||||
| Create with Monthly and the day=last and Wednesday, of the month=1,2,6,7,8,9,10,11,12 | 11 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 8 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 2 | | 1\|2\|6\|7\|8\|9\|10\|11\|12 | 5\|3 | |
|
||||
| Create with One time only | 12 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-One Time only 678%$@ | 4 | | | 20:00 | | | | | | |
|
||||
| Create with Every | 13 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 12.30 |
|
||||
| Create with Daily - Test BUG 15316 | 14 | admin | 46941969352af5be2ab3f39001216717 | Bug 15316 | 1 | 2014-01-30 | | 12:00 | | | | | | |
|
||||
|
||||
|
||||
Scenario: Create a new case scheduler with same name
|
||||
@@ -90,7 +91,7 @@ Scenario: Get the case schedulers list when there are exactly 13 case schedulers
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
And the type is "array"
|
||||
And the response has 13 record
|
||||
And the response has 14 record
|
||||
|
||||
|
||||
Scenario Outline: Update the case schedulers for a project and then check if the values had changed
|
||||
@@ -182,6 +183,7 @@ Scenario Outline: Delete all case scheduler of a project created previously in t
|
||||
| 11 |
|
||||
| 12 |
|
||||
| 13 |
|
||||
| 14 |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -53,4 +53,4 @@ Feature: Output Documents Negative Tests
|
||||
| Field requered sch_week_days | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Weekly monday 345%$# 17 | 2 | 2014-02-20 | 2014-03-20 | 08:00 | | | | | | | 400 | sch_week_days |
|
||||
| Field requered sch_start_day | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 18 | 3 | 2014-33-76 | 2014-04-18 | 18:00 | | | | 3\|4\|5 | 3\|5 | | 400 | sch_start_day |
|
||||
| Field requered sch_months | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Monthly 567&^% 19 | 3 | 2014-03-21 | 2014-04-18 | 18:00 | | 1 | 16 | | 2\|4 | | 400 | sch_months |
|
||||
| Field requered sch_end_date | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Daily 123@#$ 24 | 1 | 2014-01-30 | | 12:00 | | | | | | | 400 | sch_end_date |
|
||||
|
||||
@@ -41,9 +41,9 @@ Feature: Project User Resources
|
||||
And the type is "<type>"
|
||||
|
||||
Examples:
|
||||
| test_description | act_uid | username | password | http_code | type |
|
||||
| error username | 1352844695225ff5fe54de2005407079 | adm | admin | 400 | string |
|
||||
| error password | 1352844695225ff5fe54de2005407079 | admin | adm | 400 | string |
|
||||
| short activity | 1352844695225ff5fe54de20 | admin | admin | 400 | string |
|
||||
| error activity | 225ff5fe54de20054070791352844695 | admin | admin | 400 | string |
|
||||
| all ok | 1352844695225ff5fe54de2005407079 | admin | admin | 200 | array |
|
||||
| test_description | act_uid | username | password | http_code | type |
|
||||
| error username | 1352844695225ff5fe54de2005407079 | adm | admin | 400 | string |
|
||||
| error password | 1352844695225ff5fe54de2005407079 | admin | adm | 400 | string |
|
||||
| short activity | 1352844695225ff5fe54de20 | admin | admin | 400 | string |
|
||||
| error activity | 225ff5fe54de20054070791352844695 | admin | admin | 400 | string |
|
||||
| all ok | 1352844695225ff5fe54de2005407079 | admin | sample123* | 200 | array |
|
||||
|
||||
@@ -59,8 +59,8 @@ Feature: Project User Resources Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | act_uid | username | password |
|
||||
| Properties of user admin - task 1 | 1352844695225ff5fe54de2005407079 | admin | admin |
|
||||
| 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 | admin |
|
||||
| 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* |
|
||||
|
||||
@@ -28,9 +28,9 @@ Scenario Outline: Verify if a user can start a task with bad parameters (negativ
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | act_uid | username | password | error_code | error_message |
|
||||
| Invalid act_uid | 1265557095225ff5c688f46031700471 | 00000000009999f5fe54de2005407079 | admin | admin | 400 | act_uid |
|
||||
| Invalid username | 1265557095225ff5c688f46031700471 | 1546168275225ff617b6a34046164891 | ain | admin | 400 | User |
|
||||
| Invalid password | 1265557095225ff5c688f46031700471 | 1546168275225ff617b6a34046164891 | erick | sle | 400 | password |
|
||||
| Field requered project | | 46941969352af5be2ab3f39001216717 | admin | admin | 400 | prj_uid |
|
||||
| Field requered act_uid | 1265557095225ff5c688f46031700471 | | admin | admin | 400 | act_uid |
|
||||
| test_description | project | act_uid | username | password | error_code | error_message |
|
||||
| Invalid act_uid | 1265557095225ff5c688f46031700471 | 00000000009999f5fe54de2005407079 | admin | sample123* | 400 | act_uid |
|
||||
| Invalid username | 1265557095225ff5c688f46031700471 | 1546168275225ff617b6a34046164891 | ain | admin | 400 | User |
|
||||
| Invalid password | 1265557095225ff5c688f46031700471 | 1546168275225ff617b6a34046164891 | erick | sle | 400 | password |
|
||||
| Field requered project | | 46941969352af5be2ab3f39001216717 | admin | admin | 400 | prj_uid |
|
||||
| Field requered act_uid | 1265557095225ff5c688f46031700471 | | admin | admin | 400 | act_uid |
|
||||
|
||||
@@ -85,6 +85,7 @@ Feature: Project Properties - Step Resources Main Tests
|
||||
And I request "project/16062437052cd6141881e06088349078/output-document"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 400
|
||||
And the response status message should have the following text "assigned"
|
||||
|
||||
Examples:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user