Adicion de nuevos escenarios en los features process permissions, process supervisor y process variables
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user