Merge branch 'master' of bitbucket.org:colosa/processmaker
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
@ProcessMakerMichelangelo @RestAPI
|
||||
Feature: DataBase Connections Negative Tests
|
||||
|
||||
Background:
|
||||
Given that I have a valid access_token
|
||||
|
||||
Scenario Outline: Test database connection to test
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
"dbs_type": "<dbs_type>",
|
||||
"dbs_server": "<dbs_server>",
|
||||
"dbs_database_name": "<dbs_database_name>",
|
||||
"dbs_username": "<dbs_username>",
|
||||
"dbs_password": "<dbs_password>",
|
||||
"dbs_port": <dbs_port>,
|
||||
"dbs_encode": "<dbs_encode>",
|
||||
"dbs_description": "<dbs_description>"
|
||||
}
|
||||
"""
|
||||
And I request "project/<project>/database-connection/test"
|
||||
Then the response status code should be <error_code>
|
||||
And the response status message should have the following text "<error_message>"
|
||||
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | dbs_type | dbs_server | dbs_database_name | dbs_username | dbs_password | dbs_port | dbs_encode | dbs_description | error_code | error_message |
|
||||
| Field required dbs_type | 74737540052e1641ab88249082085472 | | 192.168.11.71 | rb_cochalo | root | atopml2005 | 3306 | utf8 | mysql connection | 400 | dbs_type |
|
||||
| Field required dbs_server | 74737540052e1641ab88249082085472 | mysql | | rb_cochalo | root | atopml2005 | 3306 | utf8 | mysql connection | 400 | dbs_server |
|
||||
| Field required dbs_database_name | 74737540052e1641ab88249082085472 | mysql | 192.168.11.71 | | root | atopml2005 | 3306 | utf8 | mysql connection | 400 | dbs_database_name |
|
||||
| Field required dbs_username | 74737540052e1641ab88249082085472 | mysql | 192.168.11.71 | rb_cochalo | | atopml2005 | 3306 | utf8 | mysql connection | 400 | dbs_username |
|
||||
| Field required dbs_port | 74737540052e1641ab88249082085472 | mysql | 192.168.11.71 | rb_cochalo | root | atopml2005 | | utf8 | mysql connection | 400 | dbs_port |
|
||||
| Field required dbs_encode | 74737540052e1641ab88249082085472 | mysql | 192.168.11.71 | rb_cochalo | root | atopml2005 | 3306 | | mysql connection | 400 | dbs_encode |
|
||||
| Incorrect dbs_password | 74737540052e1641ab88249082085472 | mysql | 192.168.11.71 | rb_cochalo | root | atsample005 | 3306 | utf8 | mysql connection | 400 | dbs_password |
|
||||
| Field required project | | mysql | 192.168.11.71 | rb_cochalo | root | atopml2005 | 3306 | utf8 | mysql connection | 400 | prj_uid |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@ProcessMakerMichelangelo @RestAPI
|
||||
Feature: Process supervisor Resources
|
||||
Requirements:
|
||||
a workspace with the process 85794888452ceeef3675164057928956 ("Test ( Triggers, Activity)") already loaded
|
||||
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
|
||||
|
||||
|
||||
@@ -18,19 +18,7 @@ Requirements:
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| List current unique process supervisor | 85794888452ceeef3675164057928956 | 0 |
|
||||
|
||||
|
||||
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 | 70662784652cef0878516f7085532841 |
|
||||
| List current unique process supervisor | 85794888452ceeef3675164057928956 | 1 |
|
||||
|
||||
|
||||
Scenario Outline: Get a List of available process supervisor of a project
|
||||
@@ -43,7 +31,7 @@ Requirements:
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| List users and groups available to be supervisors | 85794888452ceeef3675164057928956 | 21 |
|
||||
| List users and groups available to be supervisors | 85794888452ceeef3675164057928956 | 20 |
|
||||
|
||||
|
||||
Scenario Outline: Get a List of available groups process supervisor of a project
|
||||
@@ -56,7 +44,7 @@ Requirements:
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| List the 23 groups available to be supervisors | 85794888452ceeef3675164057928956 | 20 |
|
||||
| List the 23 groups available to be supervisors | 85794888452ceeef3675164057928956 | 19 |
|
||||
|
||||
|
||||
Scenario Outline: Get a List of available users elegible as process supervisor
|
||||
@@ -71,7 +59,20 @@ Requirements:
|
||||
| test_description | project | records |
|
||||
| List the unique admin user available to be supervisor | 85794888452ceeef3675164057928956 | 1 |
|
||||
|
||||
|
||||
|
||||
|
||||
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
|
||||
@@ -169,7 +170,7 @@ Requirements:
|
||||
| Assign a group as Supervisor | 85794888452ceeef3675164057928956 | 1 | GROUP_SUPERVISOR | 54731929352d56741de9d42002704749 |
|
||||
| Assign a user as Supervisor | 85794888452ceeef3675164057928956 | 2 | SUPERVISOR | 00000000000000000000000000000001 |
|
||||
|
||||
|
||||
|
||||
|
||||
Scenario Outline: Assign a dynaform to a process supervisor
|
||||
Given POST this data:
|
||||
@@ -209,8 +210,7 @@ Requirements:
|
||||
|
||||
Examples:
|
||||
| test_description | project | dps_number | inp_doc_uid |
|
||||
| Assign an Input document for Supervisor | 85794888452ceeef3675164057928956 | 1 | 30053187052ddfa4e1fdca4001721051 |
|
||||
|
||||
| Assign an Input document for Supervisor | 85794888452ceeef3675164057928956 | 1 | 54550354652ceef5e4e1c17096955890 |
|
||||
|
||||
|
||||
Scenario Outline: Delete a process supervisor
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
@ProcessMakerMichelangelo @RestAPI
|
||||
Feature: Report Tables
|
||||
Requirements:
|
||||
a workspace with the process 922677707524ac7417ce345089010125 ("Test Designer Report Tables") already loaded
|
||||
there are zero Report Table in the process
|
||||
|
||||
Background:
|
||||
Given that I have a valid access_token
|
||||
|
||||
Reference in New Issue
Block a user