Adicion de nuevos escenarios para pruebas con .pmx, en los features case tracker, database connections, dynaform, events, file manager y input document
This commit is contained in:
@@ -3,18 +3,27 @@ Feature: Case Tracker Main Tests
|
||||
Requirements:
|
||||
a workspace with the process 50259961452d82bf57f4f62051572528 ("Sample Project #4 (Case Tracker)") already loaded
|
||||
there are one Output Documents in the process and one Input Document
|
||||
and workspace with the process 1455892245368ebeb11c1a5001393784 - "Process Complete BPMN" already loaded" already loaded
|
||||
|
||||
Background:
|
||||
Given that I have a valid access_token
|
||||
|
||||
|
||||
Scenario: Get Case Tracker data of a Project
|
||||
And I request "project/50259961452d82bf57f4f62051572528/case-tracker/property"
|
||||
Scenario Outline: Get Case Tracker data of a Project
|
||||
And I request "project/<project>/case-tracker/property"
|
||||
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"
|
||||
And the "map_type" property equals "<map_type>"
|
||||
And the "routing_history" property equals "<routing_history>"
|
||||
And the "message_history" property equals "<message_history>"
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | map_type | routing_history | message_history |
|
||||
| Get of process Sample Project #4 (Case Tracker) | 50259961452d82bf57f4f62051572528 | PROCESSMAP | 1 | 1 |
|
||||
| Get of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | PROCESSMAP | 1 | 1 |
|
||||
|
||||
|
||||
Scenario Outline: Update Case Tracker data of a Project and then check if the values has changed
|
||||
Given PUT this data:
|
||||
@@ -25,7 +34,7 @@ Feature: Case Tracker Main Tests
|
||||
"message_history": <message_history>
|
||||
}
|
||||
"""
|
||||
And I request "project/50259961452d82bf57f4f62051572528/case-tracker/property"
|
||||
And I request "project/<project>/case-tracker/property"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
@@ -33,30 +42,45 @@ Feature: Case Tracker Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | map_type | routing_history | message_history |
|
||||
| Update map_type = STAGE, Routing=true, message=true | STAGES | 1 | 1 |
|
||||
| Update map_type = STAGE, Routing=false, message=false | STAGES | 0 | 0 |
|
||||
| Update map_type = STAGE, Routing=true, message=false | STAGES | 1 | 0 |
|
||||
| Update map_type = STAGE, Routing=false, message=true | STAGES | 0 | 1 |
|
||||
| Update map_type = NONE, Routing=yes, message=true | STAGES | 1 | 1 |
|
||||
| Update map_type = PROCESS MAP, Routing=false, message=true | PROCESSMAP | 0 | 1 |
|
||||
| Update map_type = PROCESS MAP, Routing=false, message=false | PROCESSMAP | 0 | 0 |
|
||||
| Update map_type = PROCESS MAP, Routing=true, message=false | PROCESSMAP | 1 | 0 |
|
||||
| Update map_type = PROCESS MAP, Routing=true, message=true | PROCESSMAP | 1 | 1 |
|
||||
| test_description | project | map_type | routing_history | message_history |
|
||||
| Update map_type = STAGE, Routing=true, message=true .pm | 50259961452d82bf57f4f62051572528 | STAGES | 1 | 1 |
|
||||
| Update map_type = STAGE, Routing=false, message=false .pm | 50259961452d82bf57f4f62051572528 | STAGES | 0 | 0 |
|
||||
| Update map_type = STAGE, Routing=true, message=false .pm | 50259961452d82bf57f4f62051572528 | STAGES | 1 | 0 |
|
||||
| Update map_type = STAGE, Routing=false, message=true .pm | 50259961452d82bf57f4f62051572528 | STAGES | 0 | 1 |
|
||||
| Update map_type = NONE, Routing=yes, message=true .pm | 50259961452d82bf57f4f62051572528 | STAGES | 1 | 1 |
|
||||
| Update map_type = PROCESS MAP, Routing=false, message=true .pm | 50259961452d82bf57f4f62051572528 | PROCESSMAP | 0 | 1 |
|
||||
| Update map_type = PROCESS MAP, Routing=false, message=false .pm | 50259961452d82bf57f4f62051572528 | PROCESSMAP | 0 | 0 |
|
||||
| Update map_type = PROCESS MAP, Routing=true, message=false .pm | 50259961452d82bf57f4f62051572528 | PROCESSMAP | 1 | 0 |
|
||||
| Update map_type = PROCESS MAP, Routing=true, message=true .pm | 50259961452d82bf57f4f62051572528 | PROCESSMAP | 1 | 1 |
|
||||
| Update map_type = STAGE, Routing=true, message=true .pmx | 1455892245368ebeb11c1a5001393784 | STAGES | 1 | 1 |
|
||||
| Update map_type = STAGE, Routing=false, message=false .pmx | 1455892245368ebeb11c1a5001393784 | STAGES | 0 | 0 |
|
||||
| Update map_type = STAGE, Routing=true, message=false .pmx | 1455892245368ebeb11c1a5001393784 | STAGES | 1 | 0 |
|
||||
| Update map_type = STAGE, Routing=false, message=true .pmx | 1455892245368ebeb11c1a5001393784 | STAGES | 0 | 1 |
|
||||
| Update map_type = NONE, Routing=yes, message=true .pmx | 1455892245368ebeb11c1a5001393784 | STAGES | 1 | 1 |
|
||||
| Update map_type = PROCESS MAP, Routing=false, message=true .pmx | 1455892245368ebeb11c1a5001393784 | PROCESSMAP | 0 | 1 |
|
||||
| Update map_type = PROCESS MAP, Routing=false, message=false .pmx | 1455892245368ebeb11c1a5001393784 | PROCESSMAP | 0 | 0 |
|
||||
| Update map_type = PROCESS MAP, Routing=true, message=false .pmx | 1455892245368ebeb11c1a5001393784 | PROCESSMAP | 1 | 0 |
|
||||
| Update map_type = PROCESS MAP, Routing=true, message=true .pmx | 1455892245368ebeb11c1a5001393784 | PROCESSMAP | 1 | 1 |
|
||||
|
||||
|
||||
Scenario: Get Case Tracker data of a Project
|
||||
And I request "project/50259961452d82bf57f4f62051572528/case-tracker/property"
|
||||
Scenario Outline: Get Case Tracker data of a Project
|
||||
And I request "project/<project>/case-tracker/property"
|
||||
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"
|
||||
And that "map_type" is set to "PROCESSMAP"
|
||||
And that "routing_history" is set to "true"
|
||||
And that "message_history" is set to "true"
|
||||
And that "map_type" is set to "<map_type>"
|
||||
And that "routing_history" is set to "<routing_history>"
|
||||
And that "message_history" is set to "<message_history>"
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | map_type | routing_history | message_history |
|
||||
| Get of process Sample Project #4 (Case Tracker) | 50259961452d82bf57f4f62051572528 | PROCESSMAP | true | true |
|
||||
| Get of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | PROCESSMAP | true | true |
|
||||
|
||||
|
||||
Scenario: Get the Case Trackers Objects of a Project when there are exactly zero objects
|
||||
Scenario: Get the Case Trackers Objects of a Project when there are exactly zero objects in the process .pm
|
||||
And I request "project/50259961452d82bf57f4f62051572528/case-tracker/objects"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
@@ -65,14 +89,29 @@ Feature: Case Tracker Main Tests
|
||||
And the json data is an empty array
|
||||
|
||||
|
||||
Scenario: Get list available Case Tracker Objects of a Project when there are exactly 3 objects (one dynaform, one input document and 1 output document)
|
||||
And I request "project/50259961452d82bf57f4f62051572528/case-tracker/available-objects"
|
||||
Scenario: Get the Case Trackers Objects of a Project when there are exactly one objects in the process .pmx
|
||||
And I request "project/1455892245368ebeb11c1a5001393784/case-tracker/objects"
|
||||
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 3 records
|
||||
And the response has 1 record
|
||||
|
||||
|
||||
Scenario Outline: Get list available Case Tracker Objects of a Project
|
||||
And I request "project/<project>/case-tracker/available-objects"
|
||||
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 |
|
||||
| Available objects of a project .pm | 50259961452d82bf57f4f62051572528 | 3 |
|
||||
| Available objects of a project .pmx | 1455892245368ebeb11c1a5001393784 | 19 |
|
||||
|
||||
|
||||
Scenario Outline: Assigning objects to process case tracker
|
||||
Given POST this data:
|
||||
@@ -84,7 +123,7 @@ Feature: Case Tracker Main Tests
|
||||
"cto_position": <cto_position>
|
||||
}
|
||||
"""
|
||||
And I request "project/50259961452d82bf57f4f62051572528/case-tracker/object"
|
||||
And I request "project/<project>/case-tracker/object"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 201
|
||||
And the response charset is "UTF-8"
|
||||
@@ -93,20 +132,28 @@ Feature: Case Tracker Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | i | cto_type_obj | cto_uid_obj | cto_condition | cto_position |
|
||||
| Assign dynaform | 1 | DYNAFORM | 14761752652d82c592fc180020076851 | | 1 |
|
||||
| Assign Input Document | 2 | INPUT_DOCUMENT | 87236534052d82c6d8c67d1001895377 | | 2 |
|
||||
| Assign Output Document | 3 | OUTPUT_DOCUMENT | 76247354052d82ca9d04509043789234 | | 3 |
|
||||
| test_description | i | project | cto_type_obj | cto_uid_obj | cto_condition | cto_position |
|
||||
| Assign dynaform of a project .pm | 1 | 50259961452d82bf57f4f62051572528 | DYNAFORM | 14761752652d82c592fc180020076851 | | 1 |
|
||||
| Assign Input Document of a project .pm | 2 | 50259961452d82bf57f4f62051572528 | INPUT_DOCUMENT | 87236534052d82c6d8c67d1001895377 | | 2 |
|
||||
| Assign Output Document of a project .pm | 3 | 50259961452d82bf57f4f62051572528 | OUTPUT_DOCUMENT | 76247354052d82ca9d04509043789234 | | 3 |
|
||||
| Assign dynaform of a project .pmx | 4 | 1455892245368ebeb11c1a5001393784 | DYNAFORM | 216663520536be3024555e8038205940 | | 2 |
|
||||
| Assign Input Document of a project .pmx | 5 | 1455892245368ebeb11c1a5001393784 | INPUT_DOCUMENT | 880391746536be961e594e7014524130 | | 3 |
|
||||
| Assign Output Document of a project .pmx | 6 | 1455892245368ebeb11c1a5001393784 | OUTPUT_DOCUMENT | 218529141536be955f0b646092366402 | | 4 |
|
||||
|
||||
|
||||
Scenario: Get list available Case Tracker Objects of a Project when there are exactly 0 objects
|
||||
And I request "project/50259961452d82bf57f4f62051572528/case-tracker/available-objects"
|
||||
Scenario Outline: Get list available Case Tracker Objects of a Project when there are exactly 0 objects
|
||||
And I request "project/<project>/case-tracker/available-objects"
|
||||
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 0 records
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | records |
|
||||
| Available objects of a project .pm | 50259961452d82bf57f4f62051572528 | 0 |
|
||||
| Available objects of a project .pmx | 1455892245368ebeb11c1a5001393784 | 16 |
|
||||
|
||||
|
||||
Scenario Outline: Update a Case Tracker object of a Project and then check if the values has changed
|
||||
@@ -117,7 +164,7 @@ Feature: Case Tracker Main Tests
|
||||
}
|
||||
"""
|
||||
And that I want to update a resource with the key "cto_uid" stored in session array as variable "cto_uid<i>"
|
||||
And I request "project/50259961452d82bf57f4f62051572528/case-tracker/object"
|
||||
And I request "project/<project>/case-tracker/object"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
@@ -125,15 +172,18 @@ Feature: Case Tracker Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | i | cto_condition |
|
||||
| Update dynaform, field cto_condition | 1 | @@YEAR == 2011 |
|
||||
| Update input document, field cto_condition | 2 | @@YEAR == 2012 |
|
||||
| Update output document, field cto_condition | 3 | @@YEAR == 2013 |
|
||||
| test_description | i | project | cto_condition |
|
||||
| Update dynaform, field cto_condition .pm | 1 | 50259961452d82bf57f4f62051572528 | @@YEAR == 2011 |
|
||||
| Update input document, field cto_condition .pm | 2 | 50259961452d82bf57f4f62051572528 | @@YEAR == 2012 |
|
||||
| Update output document, field cto_condition .pm | 3 | 50259961452d82bf57f4f62051572528 | @@YEAR == 2013 |
|
||||
| Update dynaform, field cto_condition .pmx | 4 | 1455892245368ebeb11c1a5001393784 | @@YEAR == 2011 |
|
||||
| Update input document, field cto_condition .pmx | 5 | 1455892245368ebeb11c1a5001393784 | @@YEAR == 2012 |
|
||||
| Update output document, field cto_condition .pmx | 6 | 1455892245368ebeb11c1a5001393784 | @@YEAR == 2013 |
|
||||
|
||||
|
||||
Scenario Outline: Get a single Case Tracker Object of a Project to verify the update
|
||||
Given that I want to get a resource with the key "cto_uid" stored in session array as variable "cto_uid<i>"
|
||||
And I request "project/50259961452d82bf57f4f62051572528/case-tracker/object"
|
||||
And I request "project/<project>/case-tracker/object"
|
||||
And the content type is "application/json"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
@@ -146,20 +196,28 @@ Feature: Case Tracker Main Tests
|
||||
And that "obj_description" is set to "<obj_description>"
|
||||
|
||||
Examples:
|
||||
| i | cto_type_obj | cto_uid_obj | cto_condition | cto_position | obj_title | obj_description |
|
||||
| 1 | DYNAFORM | 14761752652d82c592fc180020076851 | @@YEAR == 2011 | 1 | DynaForm Demo | Description |
|
||||
| 2 | INPUT_DOCUMENT | 87236534052d82c6d8c67d1001895377 | @@YEAR == 2012 | 2 | InputDocument Demo | Description |
|
||||
| 3 | OUTPUT_DOCUMENT | 76247354052d82ca9d04509043789234 | @@YEAR == 2013 | 3 | OutputDocument Demo | Description |
|
||||
| test_description | i | project | cto_type_obj | cto_uid_obj | cto_condition | cto_position | obj_title | obj_description |
|
||||
| Get after update of process .pm | 1 | 50259961452d82bf57f4f62051572528 | DYNAFORM | 14761752652d82c592fc180020076851 | @@YEAR == 2011 | 1 | DynaForm Demo | Description |
|
||||
| Get after update of process .pm | 2 | 50259961452d82bf57f4f62051572528 | INPUT_DOCUMENT | 87236534052d82c6d8c67d1001895377 | @@YEAR == 2012 | 2 | InputDocument Demo | Description |
|
||||
| Get after update of process .pm | 3 | 50259961452d82bf57f4f62051572528 | OUTPUT_DOCUMENT | 76247354052d82ca9d04509043789234 | @@YEAR == 2013 | 3 | OutputDocument Demo | Description |
|
||||
| Get after update of process .pmx | 4 | 1455892245368ebeb11c1a5001393784 | DYNAFORM | 216663520536be3024555e8038205940 | @@YEAR == 2011 | 2 | DynaForm Demo | Description |
|
||||
| Get after update of process .pmx | 5 | 1455892245368ebeb11c1a5001393784 | INPUT_DOCUMENT | 880391746536be961e594e7014524130 | @@YEAR == 2012 | 3 | InputDocument Demo | Description |
|
||||
| Get after update of process .pmx | 6 | 1455892245368ebeb11c1a5001393784 | OUTPUT_DOCUMENT | 218529141536be955f0b646092366402 | @@YEAR == 2013 | 4 | OutputDocument Demo | Description |
|
||||
|
||||
|
||||
Scenario: Get the Case Trackers Objects of a Project when there are exactly three objects
|
||||
And I request "project/50259961452d82bf57f4f62051572528/case-tracker/objects"
|
||||
Scenario Outline: Get the Case Trackers Objects of a Project when there are exactly three objects
|
||||
And I request "project/<project>/case-tracker/objects"
|
||||
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 3 records
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | records |
|
||||
| Available objects of a project .pm | 50259961452d82bf57f4f62051572528 | 3 |
|
||||
| Available objects of a project .pmx | 1455892245368ebeb11c1a5001393784 | 4 |
|
||||
|
||||
|
||||
Scenario Outline: Delete all Case Tracker Objects of a Project created previously in this script
|
||||
@@ -175,4 +233,6 @@ Feature: Case Tracker Main Tests
|
||||
| 1 |
|
||||
| 2 |
|
||||
| 3 |
|
||||
|
||||
| 4 |
|
||||
| 5 |
|
||||
| 6 |
|
||||
@@ -36,7 +36,7 @@ Feature: DataBase Connections Main Tests MySQL
|
||||
}
|
||||
"""
|
||||
And I request "project/<project>/database-connection/test"
|
||||
Then if database-connection is active continue
|
||||
Then if database-connection with id "<dbs_uid_number>" is active
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
@@ -49,7 +49,8 @@ Feature: DataBase Connections Main Tests MySQL
|
||||
|
||||
|
||||
Scenario Outline: Create a new database connection
|
||||
Given POST this data:
|
||||
Given database-connection with id "<dbs_uid_number>" is active
|
||||
And POST this data:
|
||||
"""
|
||||
{
|
||||
"dbs_type": "<dbs_type>",
|
||||
@@ -77,21 +78,23 @@ Feature: DataBase Connections Main Tests MySQL
|
||||
|
||||
|
||||
Scenario Outline: Get the DataBase Connections List when there are exactly one DataBase Connections in each process
|
||||
Given I request "project/<project>/database-connections"
|
||||
Given database-connection with id "<dbs_uid_number>" is active
|
||||
And I request "project/<project>/database-connections"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the response has <record> record
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | record |
|
||||
| List DB in the process Data Base Connenctions .pm | 74737540052e1641ab88249082085472 | 1 |
|
||||
| List DB in the process testExecutionOfDerivationScreen .pmx | 87648819953a85c0abc01d3080475981 | 1 |
|
||||
| test_description | project | record | dbs_uid_number |
|
||||
| List DB in the process Data Base Connenctions .pm | 74737540052e1641ab88249082085472 | 1 | 1 |
|
||||
| List DB in the process testExecutionOfDerivationScreen .pmx | 87648819953a85c0abc01d3080475981 | 1 | 2 |
|
||||
|
||||
|
||||
|
||||
Scenario Outline: Update a database connection
|
||||
Given PUT this data:
|
||||
Given database-connection with id "<dbs_uid_number>" is active
|
||||
And PUT this data:
|
||||
"""
|
||||
{
|
||||
"dbs_type": "<dbs_type>",
|
||||
@@ -118,7 +121,8 @@ Feature: DataBase Connections Main Tests MySQL
|
||||
|
||||
|
||||
Scenario Outline: Get a single database connection and check some properties
|
||||
Given that I want to get a resource with the key "dbs_uid" stored in session array as variable "dbs_uid_<dbs_uid_number>"
|
||||
Given database-connection with id "<dbs_uid_number>" is active
|
||||
And that I want to get a resource with the key "dbs_uid" stored in session array as variable "dbs_uid_<dbs_uid_number>"
|
||||
And I request "project/<project>/database-connection"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
@@ -140,7 +144,8 @@ Feature: DataBase Connections Main Tests MySQL
|
||||
|
||||
|
||||
Scenario Outline: Delete all Database Connection created previously in this script
|
||||
Given that I want to delete a resource with the key "dbs_uid" stored in session array as variable "dbs_uid_<dbs_uid_number>"
|
||||
Given database-connection with id "<dbs_uid_number>" is active
|
||||
And that I want to delete a resource with the key "dbs_uid" stored in session array as variable "dbs_uid_<dbs_uid_number>"
|
||||
And I request "project/<project>/database-connection"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
@@ -154,13 +159,14 @@ Feature: DataBase Connections Main Tests MySQL
|
||||
|
||||
|
||||
Scenario Outline: Get the DataBase Connections List when there are exactly zero DataBase Connections
|
||||
Given I request "project/<project>/database-connections"
|
||||
Given database-connection with id "<dbs_uid_number>" is active
|
||||
And I request "project/<project>/database-connections"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the response has <record> record
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | record |
|
||||
| List DB in the process Data Base Connenctions .pm | 74737540052e1641ab88249082085472 | 0 |
|
||||
| List DB in the process testExecutionOfDerivationScreen .pmx | 87648819953a85c0abc01d3080475981 | 0 |
|
||||
| test_description | project | record | dbs_uid_number |
|
||||
| List DB in the process Data Base Connenctions .pm | 74737540052e1641ab88249082085472 | 0 | 1 |
|
||||
| List DB in the process testExecutionOfDerivationScreen .pmx | 87648819953a85c0abc01d3080475981 | 0 | 2 |
|
||||
@@ -5,8 +5,9 @@ Feature: Dynaform Main Tests
|
||||
there are three activities in the process
|
||||
and a workspace with the process 42445320652cd534acb3824056962285 ("Sample Project #2 (DynaForms Resources)") already loaded, this process will be used for the import of Dynaform
|
||||
there are one dynaform in the process
|
||||
and workspace with the process 1455892245368ebeb11c1a5001393784 - "Process Complete BPMN" already loaded" already loaded
|
||||
|
||||
Background:
|
||||
Background:
|
||||
Given that I have a valid access_token
|
||||
|
||||
|
||||
@@ -18,11 +19,12 @@ Feature: Dynaform Main Tests
|
||||
And the type is "array"
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
Examples:
|
||||
|
||||
| project | records |
|
||||
| 14414793652a5d718b65590036026581 | 0 |
|
||||
| 42445320652cd534acb3824056962285 | 1 |
|
||||
| Description | project | records |
|
||||
| Get for the amount dynaform of process Sample Project #1 | 14414793652a5d718b65590036026581 | 0 |
|
||||
| Get for the amount dynaform of process Sample Project #2 | 42445320652cd534acb3824056962285 | 1 |
|
||||
| Get for the amount dynaform of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 26 |
|
||||
|
||||
|
||||
Scenario Outline: Normal Dynaform creation
|
||||
@@ -45,15 +47,16 @@ Feature: Dynaform Main Tests
|
||||
And store "dyn_uid" in session array as variable "dyn_uid_<dyn_uid_number>"
|
||||
|
||||
Examples:
|
||||
| test_description | project | dyn_title | dyn_description | dyn_type | dyn_content | dyn_uid_number |
|
||||
| create dynaform xmlform P1 | 14414793652a5d718b65590036026581 | Dynaform - Normal | dyn normal P1 | xmlform | sample content 1 | 1 |
|
||||
| create dynaform grid P1 | 14414793652a5d718b65590036026581 | Dynaform - Grid | dyn grid P1 | grid | sample content 2 | 2 |
|
||||
| create dynaform xmlform P2 | 42445320652cd534acb3824056962285 | Dynaform - Normal | dyn normal P2 | xmlform | | 3 |
|
||||
| create dynaform grid P2 | 42445320652cd534acb3824056962285 | Dynaform - Grid | dyn grid P2 | grid | sample content 4 | 4 |
|
||||
| test_description | project | dyn_title | dyn_description | dyn_type | dyn_content | dyn_uid_number |
|
||||
| Create dynaform xmlform P1 of process Sample Project #1 | 14414793652a5d718b65590036026581 | Dynaform - Normal | dyn normal P1 | xmlform | sample content 1 | 1 |
|
||||
| Create dynaform grid P1 of process Sample Project #1 | 14414793652a5d718b65590036026581 | Dynaform - Grid | dyn grid P1 | grid | sample content 2 | 2 |
|
||||
| Create dynaform xmlform P2 of process Sample Project #2 | 42445320652cd534acb3824056962285 | Dynaform - Normal | dyn normal P2 | xmlform | | 3 |
|
||||
| Create dynaform grid P2 of process Sample Project #2 | 42445320652cd534acb3824056962285 | Dynaform - Grid | dyn grid P2 | grid | sample content 4 | 4 |
|
||||
| Create dynaform xmlform P1 of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | Dynaform - Normal | dyn normal P1 | xmlform | sample content 1 | 9 |
|
||||
| Create dynaform grid P1 of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | Dynaform - Grid | dyn grid P1 | grid | sample content 2 | 10 |
|
||||
|
||||
|
||||
|
||||
|
||||
Scenario Outline: Get a single dynaform and check some properties
|
||||
Scenario Outline: Get a single dynaform and check some properties
|
||||
Given that I want to get a resource with the key "dyn_uid" stored in session array as variable "dyn_uid_<dyn_uid_number>"
|
||||
And I request "project/<project>/dynaform"
|
||||
And the content type is "application/json"
|
||||
@@ -67,13 +70,14 @@ Feature: Dynaform Main Tests
|
||||
And that "dyn_version" is set to 1
|
||||
|
||||
Examples:
|
||||
| test_description | project | dyn_title | dyn_description | dyn_type | dyn_content | dyn_uid_number |
|
||||
| create dynaform xmlform P1 | 14414793652a5d718b65590036026581 | Dynaform - Normal | dyn normal P1 | xmlform | sample content 1 | 1 |
|
||||
| create dynaform grid P1 | 14414793652a5d718b65590036026581 | Dynaform - Grid | dyn grid P1 | grid | sample content 2 | 2 |
|
||||
| create dynaform xmlform P2 | 42445320652cd534acb3824056962285 | Dynaform - Normal | dyn normal P2 | xmlform | | 3 |
|
||||
| create dynaform grid P2 | 42445320652cd534acb3824056962285 | Dynaform - Grid | dyn grid P2 | grid | sample content 4 | 4 |
|
||||
|
||||
|
||||
| test_description | project | dyn_title | dyn_description | dyn_type | dyn_content | dyn_uid_number |
|
||||
| Create dynaform xmlform P1 of process Sample Project #1 | 14414793652a5d718b65590036026581 | Dynaform - Normal | dyn normal P1 | xmlform | sample content 1 | 1 |
|
||||
| Create dynaform grid P1 of process Sample Project #1 | 14414793652a5d718b65590036026581 | Dynaform - Grid | dyn grid P1 | grid | sample content 2 | 2 |
|
||||
| Create dynaform xmlform P2 of process Sample Project #2 | 42445320652cd534acb3824056962285 | Dynaform - Normal | dyn normal P2 | xmlform | | 3 |
|
||||
| Create dynaform grid P2 of process Sample Project #2 | 42445320652cd534acb3824056962285 | Dynaform - Grid | dyn grid P2 | grid | sample content 4 | 4 |
|
||||
| Create dynaform xmlform P1 of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | Dynaform - Normal | dyn normal P1 | xmlform | sample content 1 | 9 |
|
||||
| Create dynaform grid P1 of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | Dynaform - Grid | dyn grid P1 | grid | sample content 2 | 10 |
|
||||
|
||||
|
||||
Scenario: Create dynaform with same name
|
||||
Given POST a dynaform:
|
||||
@@ -114,11 +118,11 @@ Feature: Dynaform Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | dyn_title | dyn_description | dyn_type | dyn_uid_number | copy_prj_uid | copy_dyn_uid |
|
||||
| create dynaform copy 1 | 14414793652a5d718b65590036026581 | Dynaform - Copy 1 | dyn copy | xmlform | 5 | 42445320652cd534acb3824056962285 | 70070685552cd53605650f7062918506 |
|
||||
| create dynaform copy 2 | 42445320652cd534acb3824056962285 | Dynaform - Copy 2 | dyn copy | xmlform | 6 | 42445320652cd534acb3824056962285 | 70070685552cd53605650f7062918506 |
|
||||
|
||||
|
||||
| test_description | project | dyn_title | dyn_description | dyn_type | dyn_uid_number | copy_prj_uid | copy_dyn_uid |
|
||||
| create dynaform copy 1 of process Sample Project #1 | 14414793652a5d718b65590036026581 | Dynaform - Copy 1 | dyn copy | xmlform | 5 | 42445320652cd534acb3824056962285 | 70070685552cd53605650f7062918506 |
|
||||
| create dynaform copy 2 of process Sample Project #2 | 42445320652cd534acb3824056962285 | Dynaform - Copy 2 | dyn copy | xmlform | 6 | 42445320652cd534acb3824056962285 | 70070685552cd53605650f7062918506 |
|
||||
| create dynaform copy 1 of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | Dynaform - Copy 1 | dyn copy | xmlform | 11 | 42445320652cd534acb3824056962285 | 70070685552cd53605650f7062918506 |
|
||||
|
||||
|
||||
Scenario: Create a Dynaform using the Copy/Import with same name
|
||||
Given POST this data:
|
||||
@@ -167,10 +171,11 @@ Feature: Dynaform Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | dyn_title | dyn_description | dyn_type | dyn_uid_number | tab_uid | fld_name_01 | pro_variable_01 |
|
||||
| create dynaform pmtable 1 | 14414793652a5d718b65590036026581 | Dynaform - pmtable 1 | dyn from pmtable1 | xmlform | 7 | 65193158852cc1a93a5a535084878044 | DYN_UID | @#APPLICATION |
|
||||
| create dynaform pmtable 2 | 42445320652cd534acb3824056962285 | Dynaform - pmtable2 | dyn from pmtable2 | xmlform | 8 | 65193158852cc1a93a5a535084878044 | DYN_UID | @#APPLICATION |
|
||||
|
||||
| test_description | project | dyn_title | dyn_description | dyn_type | dyn_uid_number | tab_uid | fld_name_01 | pro_variable_01 |
|
||||
| create dynaform pmtable 1 of process Sample Project #1 | 14414793652a5d718b65590036026581 | Dynaform - pmtable 1 | dyn from pmtable1 | xmlform | 7 | 65193158852cc1a93a5a535084878044 | DYN_UID | @#APPLICATION |
|
||||
| create dynaform pmtable 2 of process Sample Project #2 | 42445320652cd534acb3824056962285 | Dynaform - pmtable2 | dyn from pmtable2 | xmlform | 8 | 65193158852cc1a93a5a535084878044 | DYN_UID | @#APPLICATION |
|
||||
| create dynaform pmtable 1 of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | Dynaform - pmtable 1 | dyn from pmtable1 | xmlform | 12 | 65193158852cc1a93a5a535084878044 | DYN_UID | @#APPLICATION |
|
||||
|
||||
|
||||
Scenario: Create dynaform based on a PMTable with same name
|
||||
Given POST this data:
|
||||
@@ -232,15 +237,15 @@ Feature: Dynaform Main Tests
|
||||
And the type is "object"
|
||||
|
||||
|
||||
Examples:
|
||||
| test_description | project | dyn_title | dyn_description | dyn_type | dyn_content | dyn_uid_number |
|
||||
| Update dynaform xmlform P1 | 14414793652a5d718b65590036026581 | My DynaForm1 Modified | My DynaForm1 DESCRIPTION Modified | grid | update sample content 1 | 1 |
|
||||
| Update dynaform grid P1 | 14414793652a5d718b65590036026581 | Dynaform - Grid Modified | dyn grid P1 DESCRIPTION Modified | xmlform | update sample content 2 | 2 |
|
||||
| Update dynaform xmlform P2 | 42445320652cd534acb3824056962285 | Dynaform - Normal Modified | dyn normal P2 DESCRIPTION Modified | grid | sample | 3 |
|
||||
| Update dynaform grid P2 | 42445320652cd534acb3824056962285 | Dynaform - Grid Modified | dyn grid P2 DESCRIPTION Modified | xmlform | sample content 4 | 4 |
|
||||
Examples:
|
||||
| test_description | project | dyn_title | dyn_description | dyn_type | dyn_content | dyn_uid_number |
|
||||
| Update dynaform xmlform P1 | 14414793652a5d718b65590036026581 | My DynaForm1 Modified | My DynaForm1 DESCRIPTION Modified | grid | update sample content 1 | 1 |
|
||||
| Update dynaform grid P1 | 14414793652a5d718b65590036026581 | Dynaform - Grid Modified | dyn grid P1 DESCRIPTION Modified | xmlform | update sample content 2 | 2 |
|
||||
| Update dynaform xmlform P2 | 42445320652cd534acb3824056962285 | Dynaform - Normal Modified | dyn normal P2 DESCRIPTION Modified | grid | sample | 3 |
|
||||
| Update dynaform grid P2 | 42445320652cd534acb3824056962285 | Dynaform - Grid Modified | dyn grid P2 DESCRIPTION Modified | xmlform | sample content 4 | 4 |
|
||||
| Update of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | Dynaform - Normal Modified | dyn normal P1 DESCRIPTION Modified | xmlform | update sample content 1 | 9 |
|
||||
|
||||
|
||||
|
||||
|
||||
Scenario Outline: Get a single dynaform and check some properties
|
||||
Given that I want to get a resource with the key "dyn_uid" stored in session array as variable "dyn_uid_<dyn_uid_number>"
|
||||
And I request "project/<project>/dynaform"
|
||||
@@ -255,13 +260,13 @@ Feature: Dynaform Main Tests
|
||||
And that "dyn_version" is set to 1
|
||||
|
||||
Examples:
|
||||
| test_description | project | dyn_title | dyn_description | dyn_type | dyn_content | dyn_uid_number |
|
||||
| Update dynaform xmlform P1 | 14414793652a5d718b65590036026581 | My DynaForm1 Modified | My DynaForm1 DESCRIPTION Modified | grid | update sample content 1 | 1 |
|
||||
| Update dynaform grid P1 | 14414793652a5d718b65590036026581 | Dynaform - Grid Modified | dyn grid P1 DESCRIPTION Modified | xmlform | update sample content 2 | 2 |
|
||||
| Update dynaform xmlform P2 | 42445320652cd534acb3824056962285 | Dynaform - Normal Modified | dyn normal P2 DESCRIPTION Modified | grid | sample | 3 |
|
||||
| Update dynaform grid P2 | 42445320652cd534acb3824056962285 | Dynaform - Grid Modified | dyn grid P2 DESCRIPTION Modified | xmlform | sample content 4 | 4 |
|
||||
|
||||
|
||||
| test_description | project | dyn_title | dyn_description | dyn_type | dyn_content | dyn_uid_number |
|
||||
| Update dynaform xmlform P1 | 14414793652a5d718b65590036026581 | My DynaForm1 Modified | My DynaForm1 DESCRIPTION Modified | grid | update sample content 1 | 1 |
|
||||
| Update dynaform grid P1 | 14414793652a5d718b65590036026581 | Dynaform - Grid Modified | dyn grid P1 DESCRIPTION Modified | xmlform | update sample content 2 | 2 |
|
||||
| Update dynaform xmlform P2 | 42445320652cd534acb3824056962285 | Dynaform - Normal Modified | dyn normal P2 DESCRIPTION Modified | grid | sample | 3 |
|
||||
| Update dynaform grid P2 | 42445320652cd534acb3824056962285 | Dynaform - Grid Modified | dyn grid P2 DESCRIPTION Modified | xmlform | sample content 4 | 4 |
|
||||
| Update of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | Dynaform - Normal Modified | dyn normal P1 DESCRIPTION Modified | xmlform | update sample content 1 | 9 |
|
||||
|
||||
|
||||
Scenario Outline: Delete all Dynaform created previously in this script
|
||||
Given that I want to delete a resource with the key "dyn_uid" stored in session array as variable "dyn_uid_<dyn_uid_number>"
|
||||
@@ -283,6 +288,10 @@ Feature: Dynaform Main Tests
|
||||
| 42445320652cd534acb3824056962285 | 6 |
|
||||
| 14414793652a5d718b65590036026581 | 7 |
|
||||
| 42445320652cd534acb3824056962285 | 8 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 9 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 10 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 11 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 12 |
|
||||
|
||||
|
||||
Scenario Outline: Get a List DynaForms of a Project
|
||||
@@ -298,3 +307,4 @@ Feature: Dynaform Main Tests
|
||||
| project | records |
|
||||
| 14414793652a5d718b65590036026581 | 0 |
|
||||
| 42445320652cd534acb3824056962285 | 1 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 26 |
|
||||
|
||||
@@ -3,18 +3,26 @@ Feature: Events Resources Main Tests
|
||||
Requirements:
|
||||
a workspace with the process 251815090529619a99a2bf4013294414 ("Test(Triggers, Activity") already loaded
|
||||
there are zero Events 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: Get List all the events in the process when there are exactly zero events
|
||||
Given I request "project/251815090529619a99a2bf4013294414/events"
|
||||
Scenario Outline: Get List all the events in the process when there are exactly zero events
|
||||
Given I request "project/<project>/events"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the response has 0 record
|
||||
And the response has <record> record
|
||||
|
||||
Scenario Outline: Create 18 new Event of the project
|
||||
Examples:
|
||||
|
||||
| test_description | project | record |
|
||||
| Get list event of the process Test(Triggers, Activity | 251815090529619a99a2bf4013294414 | 0 |
|
||||
| Get list event of the process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 0 |
|
||||
|
||||
|
||||
Scenario Outline: Create 18 new Event of the project
|
||||
Given POST this data:
|
||||
"""
|
||||
{
|
||||
@@ -32,7 +40,7 @@ Feature: Events Resources Main Tests
|
||||
"tri_uid": "<tri_uid>"
|
||||
}
|
||||
"""
|
||||
And I request "project/251815090529619a99a2bf4013294414/event"
|
||||
And I request "project/<project>/event"
|
||||
Then the response status code should be 201
|
||||
And the content type is "application/json"
|
||||
And the response charset is "UTF-8"
|
||||
@@ -41,53 +49,97 @@ Feature: Events Resources Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | evn_uid_number | evn_action | evn_description | evn_status | evn_related_to | tas_uid | evn_tas_uid_from | evn_tas_uid_to | evn_tas_estimated_duration | evn_time_unit | evn_when | evn_when_occurs | tri_uid |
|
||||
| Create Event Message with single task, duration=days and Execution AFTER_TIME | 1 | SEND_MESSAGE | Event Message, Single 1 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 1 | DAYS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Message with single task, duration=hours and Execution AFTER_TIME | 2 | SEND_MESSAGE | Event Message, Single 2 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 2 | HOURS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Message with single task, duration=days and Execution TASK_STARTED | 3 | SEND_MESSAGE | Event Message, Single 3 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 1 | DAYS | 1 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Message with multiple task, duration=days and Execution AFTER_TIME | 4 | SEND_MESSAGE | Event Message, Multiple 4 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 1 | DAYS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Message with multiple task, duration=hours and Execution AFTER_TIME | 5 | SEND_MESSAGE | Event Message, Multiple 5 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | HOURS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Message with multiple task, duration=days and Execution TASK_STARTED | 6 | SEND_MESSAGE | Event Message, Multiple 6 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 1 | DAYS | 1 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Conditional with single task, duration=days and Execution AFTER_TIME | 7 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Single 1 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 1 | DAYS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Conditional with single task, duration=hours and Execution AFTER_TIME | 8 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Single 2 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 2 | HOURS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Conditional with single task, duration=days and Execution TASK_STARTED | 9 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Single 3 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 1 | DAYS | 1 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Conditional with multiple task, duration=days and Execution AFTER_TIME | 10 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Multiple 4 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 1 | DAYS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Conditional with multiple task, duration=hours and Execution AFTER_TIME | 11 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Multiple 5 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | HOURS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Conditional with multiple task, duration=days and Execution TASK_STARTED | 12 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Multiple 6 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 1 | DAYS | 1 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Timer with single task, duration=days and Execution AFTER_TIME | 13 | EXECUTE_TRIGGER | Event Timer, Single 1 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 1 | DAYS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Timer with single task, duration=hours and Execution AFTER_TIME | 14 | EXECUTE_TRIGGER | Event Timer, Single 2 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 2 | HOURS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Timer with single task, duration=days and Execution TASK_STARTED | 15 | EXECUTE_TRIGGER | Event Timer, Single 3 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 1 | DAYS | 1 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Timer with multiple task, duration=days and Execution AFTER_TIME | 16 | EXECUTE_TRIGGER | Event Timer, Multiple 4 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 1 | DAYS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Timer with multiple task, duration=hours and Execution AFTER_TIME | 17 | EXECUTE_TRIGGER | Event Timer, Multiple 5 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | HOURS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Timer with multiple task, duration=days and Execution TASK_STARTED | 18 | EXECUTE_TRIGGER | Event Timer, Multiple 6 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 1 | DAYS | 1 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
|
||||
| test_description | evn_uid_number | project | evn_action | evn_description | evn_status | evn_related_to | tas_uid | evn_tas_uid_from | evn_tas_uid_to | evn_tas_estimated_duration | evn_time_unit | evn_when | evn_when_occurs | tri_uid |
|
||||
| Create Event Message with single task, duration=days and Execution AFTER_TIME .pm | 1 | 251815090529619a99a2bf4013294414 | SEND_MESSAGE | Event Message, Single 1 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 1 | DAYS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Message with single task, duration=hours and Execution AFTER_TIME .pm | 2 | 251815090529619a99a2bf4013294414 | SEND_MESSAGE | Event Message, Single 2 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 2 | HOURS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Message with single task, duration=days and Execution TASK_STARTED .pm | 3 | 251815090529619a99a2bf4013294414 | SEND_MESSAGE | Event Message, Single 3 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 1 | DAYS | 1 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Message with multiple task, duration=days and Execution AFTER_TIME .pm | 4 | 251815090529619a99a2bf4013294414 | SEND_MESSAGE | Event Message, Multiple 4 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 1 | DAYS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Message with multiple task, duration=hours and Execution AFTER_TIME .pm | 5 | 251815090529619a99a2bf4013294414 | SEND_MESSAGE | Event Message, Multiple 5 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | HOURS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Message with multiple task, duration=days and Execution TASK_STARTED .pm | 6 | 251815090529619a99a2bf4013294414 | SEND_MESSAGE | Event Message, Multiple 6 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 1 | DAYS | 1 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Conditional with single task, duration=days and Execution AFTER_TIME .pm | 7 | 251815090529619a99a2bf4013294414 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Single 1 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 1 | DAYS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Conditional with single task, duration=hours and Execution AFTER_TIME .pm | 8 | 251815090529619a99a2bf4013294414 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Single 2 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 2 | HOURS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Conditional with single task, duration=days and Execution TASK_STARTED .pm | 9 | 251815090529619a99a2bf4013294414 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Single 3 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 1 | DAYS | 1 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Conditional with multiple task, duration=days and Execution AFTER_TIME .pm | 10 | 251815090529619a99a2bf4013294414 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Multiple 4 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 1 | DAYS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Conditional with multiple task, duration=hours and Execution AFTER_TIME.pm | 11 | 251815090529619a99a2bf4013294414 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Multiple 5 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | HOURS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Conditional multiple task, duration=days and Execution TASK_STARTED .pm | 12 | 251815090529619a99a2bf4013294414 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Multiple 6 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 1 | DAYS | 1 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Timer with single task, duration=days and Execution AFTER_TIME .pm | 13 | 251815090529619a99a2bf4013294414 | EXECUTE_TRIGGER | Event Timer, Single 1 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 1 | DAYS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Timer with single task, duration=hours and Execution AFTER_TIME .pm | 14 | 251815090529619a99a2bf4013294414 | EXECUTE_TRIGGER | Event Timer, Single 2 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 2 | HOURS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Timer with single task, duration=days and Execution TASK_STARTED .pm | 15 | 251815090529619a99a2bf4013294414 | EXECUTE_TRIGGER | Event Timer, Single 3 | ACTIVE | SINGLE | 97192372152a5c78f04a794095806311 | | | 1 | DAYS | 1 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Timer with multiple task, duration=days and Execution AFTER_TIME .pm | 16 | 251815090529619a99a2bf4013294414 | EXECUTE_TRIGGER | Event Timer, Multiple 4 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 1 | DAYS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Timer with multiple task, duration=hours and Execution AFTER_TIME .pm | 17 | 251815090529619a99a2bf4013294414 | EXECUTE_TRIGGER | Event Timer, Multiple 5 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | HOURS | 1 | AFTER_TIME | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Timer with multiple task, duration=days and Execution TASK_STARTED .pm | 18 | 251815090529619a99a2bf4013294414 | EXECUTE_TRIGGER | Event Timer, Multiple 6 | ACTIVE | MULTIPLE | | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 1 | DAYS | 1 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Create Event Message with single task, duration=days and Execution AFTER_TIME .pmx | 19 | 1455892245368ebeb11c1a5001393784 | SEND_MESSAGE | Event Message, Single 1 | ACTIVE | SINGLE | 6274755055368eed1116388064384542 | | | 1 | DAYS | 1 | AFTER_TIME | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Message with single task, duration=hours and Execution AFTER_TIME .pmx | 20 | 1455892245368ebeb11c1a5001393784 | SEND_MESSAGE | Event Message, Single 2 | ACTIVE | SINGLE | 6274755055368eed1116388064384542 | | | 2 | HOURS | 1 | AFTER_TIME | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Message with single task, duration=days and Execution TASK_STARTED .pmx | 21 | 1455892245368ebeb11c1a5001393784 | SEND_MESSAGE | Event Message, Single 3 | ACTIVE | SINGLE | 6274755055368eed1116388064384542 | | | 1 | DAYS | 1 | TASK_STARTED | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Message with multiple task, duration=days and Execution AFTER_TIME .pmx | 22 | 1455892245368ebeb11c1a5001393784 | SEND_MESSAGE | Event Message, Multiple 4 | ACTIVE | MULTIPLE | | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 1 | DAYS | 1 | AFTER_TIME | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Message with multiple task, duration=hours and Execution AFTER_TIME .pmx | 23 | 1455892245368ebeb11c1a5001393784 | SEND_MESSAGE | Event Message, Multiple 5 | ACTIVE | MULTIPLE | | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 2 | HOURS | 1 | AFTER_TIME | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Message with multiple task, duration=days and Execution TASK_STARTED .pmx | 24 | 1455892245368ebeb11c1a5001393784 | SEND_MESSAGE | Event Message, Multiple 6 | ACTIVE | MULTIPLE | | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 1 | DAYS | 1 | TASK_STARTED | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Conditional with single task, duration=days and Execution AFTER_TIME .pmx | 25 | 1455892245368ebeb11c1a5001393784 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Single 1 | ACTIVE | SINGLE | 6274755055368eed1116388064384542 | | | 1 | DAYS | 1 | AFTER_TIME | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Conditional with single task, duration=hours and Execution AFTER_TIME .pmx | 26 | 1455892245368ebeb11c1a5001393784 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Single 2 | ACTIVE | SINGLE | 6274755055368eed1116388064384542 | | | 2 | HOURS | 1 | AFTER_TIME | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Conditional with single task, duration=days and Execution TASK_STARTED .pmx | 27 | 1455892245368ebeb11c1a5001393784 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Single 3 | ACTIVE | SINGLE | 6274755055368eed1116388064384542 | | | 1 | DAYS | 1 | TASK_STARTED | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Conditional with multiple task, duration=days and Execution AFTER_TIME .pmx | 28 | 1455892245368ebeb11c1a5001393784 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Multiple 4 | ACTIVE | MULTIPLE | | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 1 | DAYS | 1 | AFTER_TIME | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Conditional with multiple task, duration=hours and Execution AFTER_TIME.pmx | 29 | 1455892245368ebeb11c1a5001393784 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Multiple 5 | ACTIVE | MULTIPLE | | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 2 | HOURS | 1 | AFTER_TIME | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Conditional multiple task, duration=days and Execution TASK_STARTED .pmx | 30 | 1455892245368ebeb11c1a5001393784 | EXECUTE_CONDITIONAL_TRIGGER | Event Conditional, Multiple 6 | ACTIVE | MULTIPLE | | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 1 | DAYS | 1 | TASK_STARTED | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Timer with single task, duration=days and Execution AFTER_TIME .pmx | 31 | 1455892245368ebeb11c1a5001393784 | EXECUTE_TRIGGER | Event Timer, Single 1 | ACTIVE | SINGLE | 6274755055368eed1116388064384542 | | | 1 | DAYS | 1 | AFTER_TIME | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Timer with single task, duration=hours and Execution AFTER_TIME .pmx | 32 | 1455892245368ebeb11c1a5001393784 | EXECUTE_TRIGGER | Event Timer, Single 2 | ACTIVE | SINGLE | 6274755055368eed1116388064384542 | | | 2 | HOURS | 1 | AFTER_TIME | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Timer with single task, duration=days and Execution TASK_STARTED .pmx | 33 | 1455892245368ebeb11c1a5001393784 | EXECUTE_TRIGGER | Event Timer, Single 3 | ACTIVE | SINGLE | 6274755055368eed1116388064384542 | | | 1 | DAYS | 1 | TASK_STARTED | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Timer with multiple task, duration=days and Execution AFTER_TIME .pmx | 34 | 1455892245368ebeb11c1a5001393784 | EXECUTE_TRIGGER | Event Timer, Multiple 4 | ACTIVE | MULTIPLE | | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 1 | DAYS | 1 | AFTER_TIME | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Timer with multiple task, duration=hours and Execution AFTER_TIME .pmx | 35 | 1455892245368ebeb11c1a5001393784 | EXECUTE_TRIGGER | Event Timer, Multiple 5 | ACTIVE | MULTIPLE | | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 2 | HOURS | 1 | AFTER_TIME | 712197294536bea56a8b4d0014148679 |
|
||||
| Create Event Timer with multiple task, duration=days and Execution TASK_STARTED .pmx | 36 | 1455892245368ebeb11c1a5001393784 | EXECUTE_TRIGGER | Event Timer, Multiple 6 | ACTIVE | MULTIPLE | | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 1 | DAYS | 1 | TASK_STARTED | 712197294536bea56a8b4d0014148679 |
|
||||
|
||||
|
||||
Scenario: Get List all the events in the process when there are exactly zero events
|
||||
Given I request "project/251815090529619a99a2bf4013294414/events"
|
||||
Scenario Outline: Get List all the events in the process
|
||||
Given I request "project/<project>/events"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the response has 18 record
|
||||
And the response has <records> records
|
||||
|
||||
|
||||
Scenario: Get List all the events in the events Messages when there are exactly six events
|
||||
Given I request "project/251815090529619a99a2bf4013294414/events?filter=message"
|
||||
Examples:
|
||||
|
||||
| test_description | project | records |
|
||||
| Get list event of the process Test(Triggers, Activity | 251815090529619a99a2bf4013294414 | 18 |
|
||||
| Get list event of the process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 18 |
|
||||
|
||||
|
||||
Scenario Outline: Get List all the events in the events Messages when there are exactly six events
|
||||
Given I request "project/<project>/events?filter=message"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the response has 6 records
|
||||
And the response has <records> records
|
||||
|
||||
Scenario: Get List all the events in the events Messages when there are exactly six events
|
||||
Given I request "project/251815090529619a99a2bf4013294414/events?filter=conditional"
|
||||
Examples:
|
||||
|
||||
| test_description | project | records |
|
||||
| Get list event of the process Test(Triggers, Activity | 251815090529619a99a2bf4013294414 | 6 |
|
||||
| Get list event of the process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6 |
|
||||
|
||||
|
||||
Scenario Outline: Get List all the events in the events Messages when there are exactly six events
|
||||
Given I request "project/<project>/events?filter=conditional"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the response has 6 records
|
||||
And the response has <records> records
|
||||
|
||||
Scenario: Get List all the events in the events Messages when there are exactly six events
|
||||
Given I request "project/251815090529619a99a2bf4013294414/events?filter=multiple"
|
||||
Examples:
|
||||
|
||||
| test_description | project | records |
|
||||
| Get list event of the process Test(Triggers, Activity | 251815090529619a99a2bf4013294414 | 6 |
|
||||
| Get list event of the process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6 |
|
||||
|
||||
|
||||
Scenario Outline: Get List all the events in the events Messages when there are exactly six events
|
||||
Given I request "project/<project>/events?filter=multiple"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the response has 6 records
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | records |
|
||||
| Get list event of the process Test(Triggers, Activity | 251815090529619a99a2bf4013294414 | 6 |
|
||||
| Get list event of the process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 6 |
|
||||
|
||||
|
||||
Scenario Outline: Update the Events and the check if the values had changed
|
||||
Given PUT this data:
|
||||
"""
|
||||
@@ -106,22 +158,25 @@ Feature: Events Resources Main Tests
|
||||
}
|
||||
"""
|
||||
And that I want to update a resource with the key "evn_uid" stored in session array as variable "evn_uid_<evn_uid_number>"
|
||||
And I request "project/251815090529619a99a2bf4013294414/event"
|
||||
And I request "project/<project>/event"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the type is "object"
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | evn_uid_number | evn_action | evn_description | evn_status | evn_related_to | evn_tas_uid_from | evn_tas_uid_to | evn_tas_estimated_duration | evn_time_unit | evn_when | evn_when_occurs | tri_uid |
|
||||
| Update evn_description, evn_status, evn_related_to, evn_tas_uid_from, evn_tas_estimated_duration, evn_when, evn_when_occurs 1 | 1 | SEND_MESSAGE | Update Event Message, Single 1 | INACTIVE | MULTIPLE | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | DAYS | 2 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Update evn_description, evn_status, evn_related_to, evn_tas_uid_from, evn_tas_estimated_duration, evn_when, evn_when_occurs 2 | 7 | EXECUTE_CONDITIONAL_TRIGGER | Update Event Conditional, Single 1 | INACTIVE | MULTIPLE | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 3 | DAYS | 2 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Update evn_description, evn_status, evn_related_to, evn_tas_uid_from, evn_tas_estimated_duration, evn_when, evn_when_occurs 3 | 13 | EXECUTE_TRIGGER | Update Event Timer, Single 1 | INACTIVE | MULTIPLE | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | DAYS | 2 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| test_description | project | evn_uid_number | evn_action | evn_description | evn_status | evn_related_to | evn_tas_uid_from | evn_tas_uid_to | evn_tas_estimated_duration | evn_time_unit | evn_when | evn_when_occurs | tri_uid |
|
||||
| Update evn_description, evn_status, evn_related_to, evn_tas_uid_from, evn_tas_estimated_duration, evn_when, evn_when_occurs 1 .pm | 251815090529619a99a2bf4013294414 | 1 | SEND_MESSAGE | Update Event Message, Single 1 | INACTIVE | MULTIPLE | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | DAYS | 2 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Update evn_description, evn_status, evn_related_to, evn_tas_uid_from, evn_tas_estimated_duration, evn_when, evn_when_occurs 2 .pm | 251815090529619a99a2bf4013294414 | 7 | EXECUTE_CONDITIONAL_TRIGGER | Update Event Conditional, Single 1 | INACTIVE | MULTIPLE | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 3 | DAYS | 2 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Update evn_description, evn_status, evn_related_to, evn_tas_uid_from, evn_tas_estimated_duration, evn_when, evn_when_occurs 3 .pm | 251815090529619a99a2bf4013294414 | 13 | EXECUTE_TRIGGER | Update Event Timer, Single 1 | INACTIVE | MULTIPLE | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | DAYS | 2 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Update evn_description, evn_status, evn_related_to, evn_tas_uid_from, evn_tas_estimated_duration, evn_when, evn_when_occurs 1 .pmx | 1455892245368ebeb11c1a5001393784 | 19 | SEND_MESSAGE | Update Event Message, Single 1 | INACTIVE | MULTIPLE | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 2 | DAYS | 2 | TASK_STARTED | 712197294536bea56a8b4d0014148679 |
|
||||
| Update evn_description, evn_status, evn_related_to, evn_tas_uid_from, evn_tas_estimated_duration, evn_when, evn_when_occurs 2 .pmx | 1455892245368ebeb11c1a5001393784 | 25 | EXECUTE_CONDITIONAL_TRIGGER | Update Event Conditional, Single 1 | INACTIVE | MULTIPLE | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 3 | DAYS | 2 | TASK_STARTED | 712197294536bea56a8b4d0014148679 |
|
||||
| Update evn_description, evn_status, evn_related_to, evn_tas_uid_from, evn_tas_estimated_duration, evn_when, evn_when_occurs 3 .pmx | 1455892245368ebeb11c1a5001393784 | 31 | EXECUTE_TRIGGER | Update Event Timer, Single 1 | INACTIVE | MULTIPLE | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 2 | DAYS | 2 | TASK_STARTED | 712197294536bea56a8b4d0014148679 |
|
||||
|
||||
|
||||
Scenario Outline: Get a Single Events and check some properties
|
||||
Given that I want to get a resource with the key "evn_uid" stored in session array as variable "evn_uid_<evn_uid_number>"
|
||||
And I request "project/251815090529619a99a2bf4013294414/event"
|
||||
And I request "project/<project>/event"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the type is "array"
|
||||
@@ -137,44 +192,71 @@ Feature: Events Resources Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| evn_uid_number | evn_description | evn_status | evn_related_to | evn_tas_uid_from | evn_tas_uid_to | evn_tas_estimated_duration | evn_time_unit | evn_when | evn_when_occurs | tri_uid |
|
||||
| 1 | Update Event Message, Single 1 | INACTIVE | MULTIPLE | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | DAYS | 2 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| 7 | Update Event Conditional, Single 1 | INACTIVE | MULTIPLE | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 3 | DAYS | 2 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| 13 | Update Event Timer, Single 1 | INACTIVE | MULTIPLE | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | DAYS | 2 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| test_description | project | evn_uid_number | evn_description | evn_status | evn_related_to | evn_tas_uid_from | evn_tas_uid_to | evn_tas_estimated_duration | evn_time_unit | evn_when | evn_when_occurs | tri_uid |
|
||||
| Get after update .pm | 251815090529619a99a2bf4013294414 | 1 | Update Event Message, Single 1 | INACTIVE | MULTIPLE | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | DAYS | 2 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Get after update .pm | 251815090529619a99a2bf4013294414 | 7 | Update Event Conditional, Single 1 | INACTIVE | MULTIPLE | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 3 | DAYS | 2 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Get after update .pm | 251815090529619a99a2bf4013294414 | 13 | Update Event Timer, Single 1 | INACTIVE | MULTIPLE | 97192372152a5c78f04a794095806311 | 63843886052a5cc066e4c04056414372 | 2 | DAYS | 2 | TASK_STARTED | 75916963152cc6ab085a704081670580 |
|
||||
| Get after update .pmx | 1455892245368ebeb11c1a5001393784 | 19 | Update Event Message, Single 1 | INACTIVE | MULTIPLE | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 2 | DAYS | 2 | TASK_STARTED | 712197294536bea56a8b4d0014148679 |
|
||||
| Get after update .pmx | 1455892245368ebeb11c1a5001393784 | 25 | Update Event Conditional, Single 1 | INACTIVE | MULTIPLE | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 3 | DAYS | 2 | TASK_STARTED | 712197294536bea56a8b4d0014148679 |
|
||||
| Get after update .pmx | 1455892245368ebeb11c1a5001393784 | 31 | Update Event Timer, Single 1 | INACTIVE | MULTIPLE | 6274755055368eed1116388064384542 | 4790702485368efad167477011123879 | 2 | DAYS | 2 | TASK_STARTED | 712197294536bea56a8b4d0014148679 |
|
||||
|
||||
|
||||
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/251815090529619a99a2bf4013294414/event"
|
||||
And I request "project/<project>/event"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the type is "object"
|
||||
|
||||
Examples:
|
||||
|
||||
| evn_uid_number |
|
||||
| 1 |
|
||||
| 2 |
|
||||
| 3 |
|
||||
| 4 |
|
||||
| 5 |
|
||||
| 6 |
|
||||
| 7 |
|
||||
| 8 |
|
||||
| 9 |
|
||||
| 10 |
|
||||
| 11 |
|
||||
| 12 |
|
||||
| 13 |
|
||||
| 14 |
|
||||
| 15 |
|
||||
| 16 |
|
||||
| 17 |
|
||||
| 18 |
|
||||
| project | evn_uid_number |
|
||||
| 251815090529619a99a2bf4013294414 | 1 |
|
||||
| 251815090529619a99a2bf4013294414 | 2 |
|
||||
| 251815090529619a99a2bf4013294414 | 3 |
|
||||
| 251815090529619a99a2bf4013294414 | 4 |
|
||||
| 251815090529619a99a2bf4013294414 | 5 |
|
||||
| 251815090529619a99a2bf4013294414 | 6 |
|
||||
| 251815090529619a99a2bf4013294414 | 7 |
|
||||
| 251815090529619a99a2bf4013294414 | 8 |
|
||||
| 251815090529619a99a2bf4013294414 | 9 |
|
||||
| 251815090529619a99a2bf4013294414 | 10 |
|
||||
| 251815090529619a99a2bf4013294414 | 11 |
|
||||
| 251815090529619a99a2bf4013294414 | 12 |
|
||||
| 251815090529619a99a2bf4013294414 | 13 |
|
||||
| 251815090529619a99a2bf4013294414 | 14 |
|
||||
| 251815090529619a99a2bf4013294414 | 15 |
|
||||
| 251815090529619a99a2bf4013294414 | 16 |
|
||||
| 251815090529619a99a2bf4013294414 | 17 |
|
||||
| 251815090529619a99a2bf4013294414 | 18 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 19 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 20 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 21 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 22 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 23 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 24 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 25 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 26 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 27 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 28 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 29 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 30 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 31 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 32 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 33 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 34 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 35 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 36 |
|
||||
|
||||
|
||||
Scenario: Get List all the events in the process when there are exactly zero events
|
||||
Given I request "project/251815090529619a99a2bf4013294414/events"
|
||||
Scenario Outline: Get List all the events in the process when there are exactly zero events
|
||||
Given I request "project/<project>/events"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the response has 0 record
|
||||
And the response has <record> record
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | record |
|
||||
| Get list event of the process Test(Triggers, Activity | 251815090529619a99a2bf4013294414 | 0 |
|
||||
| Get list event of the process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 0 |
|
||||
@@ -3,13 +3,14 @@ Feature: Files Manager Resources Main Tests
|
||||
Requirements:
|
||||
a workspace with the process 1265557095225ff5c688f46031700471 ("Test Michelangelo") already loaded
|
||||
there are two output documents 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: Get a list of main process files manager
|
||||
Given I request "project/1265557095225ff5c688f46031700471/file-manager"
|
||||
Scenario Outline: Get a list of main process files manager
|
||||
Given I request "project/<project>/file-manager"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
@@ -17,22 +18,40 @@ Scenario: Get a list of main process files manager
|
||||
And the "name" property in row 0 equals "templates"
|
||||
And the "name" property in row 1 equals "public"
|
||||
|
||||
Scenario: Get a list public folder of process files manager
|
||||
Given I request "project/1265557095225ff5c688f46031700471/file-manager?path=public"
|
||||
Examples:
|
||||
| test_description | project |
|
||||
| Get list of process Test Michelangelo | 1265557095225ff5c688f46031700471 |
|
||||
| Get list of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 |
|
||||
|
||||
|
||||
Scenario Outline: Get a list public folder of process files manager
|
||||
Given I request "project/<project>/file-manager?path=public"
|
||||
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 "array"
|
||||
And the response has 0 records
|
||||
And the response has <records> records
|
||||
|
||||
Scenario: Get a list templates folder of process files manager
|
||||
Given I request "project/1265557095225ff5c688f46031700471/file-manager?path=templates"
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get list of process Test Michelangelo | 1265557095225ff5c688f46031700471 | 0 |
|
||||
| Get list of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 2 |
|
||||
|
||||
|
||||
Scenario Outline: Get a list templates folder of process files manager
|
||||
Given I request "project/<project>/file-manager?path=templates"
|
||||
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 "array"
|
||||
And the response has 2 records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get list of process Test Michelangelo | 1265557095225ff5c688f46031700471 | 2 |
|
||||
| Get list of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 2 |
|
||||
|
||||
|
||||
Scenario Outline: Create files and subfolders
|
||||
Given POST this data:
|
||||
"""
|
||||
@@ -42,7 +61,7 @@ Scenario Outline: Create files and subfolders
|
||||
"prf_content": "<prf_content>"
|
||||
}
|
||||
"""
|
||||
And I request "project/1265557095225ff5c688f46031700471/file-manager"
|
||||
And I request "project/<project>/file-manager"
|
||||
Then the response status code should be <http_code>
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
@@ -50,11 +69,15 @@ Scenario Outline: Create files and subfolders
|
||||
And store "prf_uid" in session array as variable "prf_uid_<prf_number>"
|
||||
|
||||
Examples:
|
||||
| test_description | prf_filename | prf_path | prf_content | http_code | type | prf_number |
|
||||
| into public folder | file_test_1.txt | public/ | only text | 200 | object | 0 |
|
||||
| into mailtemplates folder | file_test_2.html | templates/ | <h1>Test</h1><p>html test</p> | 200 | object | 1 |
|
||||
| into public subfolder | file_test_3 | public/public_subfolder | test | 200 | object | 2 |
|
||||
| into mailtemplates subfolder | file_test_4 | templates/templates_subfolder | test | 200 | object | 3 |
|
||||
| test_description | project | prf_filename | prf_path | prf_content | http_code | type | prf_number |
|
||||
| into public folder .pm | 1265557095225ff5c688f46031700471 | file_test_1.txt | public/ | only text | 200 | object | 0 |
|
||||
| into mailtemplates folder .pm | 1265557095225ff5c688f46031700471 | file_test_2.html | templates/ | <h1>Test</h1><p>html test</p> | 200 | object | 1 |
|
||||
| into public subfolder .pm | 1265557095225ff5c688f46031700471 | file_test_3 | public/public_subfolder | test | 200 | object | 2 |
|
||||
| into mailtemplates subfolder .pm | 1265557095225ff5c688f46031700471 | file_test_4 | templates/templates_subfolder | test | 200 | object | 3 |
|
||||
| into public folder .pmx | 1455892245368ebeb11c1a5001393784 | file_test_1.txt | public/ | only text | 200 | object | 8 |
|
||||
| into mailtemplates folder .pmx | 1455892245368ebeb11c1a5001393784 | file_test_2.html | templates/ | <h1>Test</h1><p>html test</p> | 200 | object | 9 |
|
||||
| into public subfolder .pmx | 1455892245368ebeb11c1a5001393784 | file_test_3 | public/public_subfolder | test | 200 | object | 10 |
|
||||
| into mailtemplates subfolder .pmx | 1455892245368ebeb11c1a5001393784 | file_test_4 | templates/templates_subfolder | test | 200 | object | 11 |
|
||||
|
||||
|
||||
Scenario: Create files and subfolders with same name in path public
|
||||
@@ -93,23 +116,27 @@ Scenario Outline: Update files by updating the content
|
||||
}
|
||||
"""
|
||||
And that I want to update a resource with the key "prf_uid" stored in session array as variable "prf_uid_<prf_number>"
|
||||
And I request "project/1265557095225ff5c688f46031700471/file-manager"
|
||||
And I request "project/<project>/file-manager"
|
||||
Then the response status code should be <http_code>
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
And the type is "<type>"
|
||||
|
||||
Examples:
|
||||
| test_description | prf_filename | prf_content | http_code | type | prf_number |
|
||||
| put into public folder | file_test_1.txt | only text - modified | 200 | object | 0 |
|
||||
| put into mailtemplates folder | file_test_2.html | <h1>Test</h1><p>html test</p><i>modified</i> | 200 | object | 1 |
|
||||
| put into public subfolder | file_test_3 | put test | 200 | object | 2 |
|
||||
| put into mailtemplates subfolder | file_test_4 | put test | 200 | object | 3 |
|
||||
| test_description .pm | project | prf_filename | prf_content | http_code | type | prf_number |
|
||||
| put into public folder .pm | 1265557095225ff5c688f46031700471 | file_test_1.txt | only text - modified | 200 | object | 0 |
|
||||
| put into mailtemplates folder .pm | 1265557095225ff5c688f46031700471 | file_test_2.html | <h1>Test</h1><p>html test</p><i>modified</i> | 200 | object | 1 |
|
||||
| put into public subfolder .pm | 1265557095225ff5c688f46031700471 | file_test_3 | put test | 200 | object | 2 |
|
||||
| put into mailtemplates subfolder .pm | 1265557095225ff5c688f46031700471 | file_test_4 | put test | 200 | object | 3 |
|
||||
| put into public folder .pmx | 1455892245368ebeb11c1a5001393784 | file_test_1.txt | only text - modified | 200 | object | 8 |
|
||||
| put into mailtemplates folder .pmx | 1455892245368ebeb11c1a5001393784 | file_test_2.html | <h1>Test</h1><p>html test</p><i>modified</i> | 200 | object | 9 |
|
||||
| put into public subfolder .pmx | 1455892245368ebeb11c1a5001393784 | file_test_3 | put test | 200 | object | 10 |
|
||||
| put into mailtemplates subfolder .pmx | 1455892245368ebeb11c1a5001393784 | file_test_4 | put test | 200 | object | 11 |
|
||||
|
||||
|
||||
Scenario Outline: Get a single Files Manager and check some properties
|
||||
Given that I want to get a resource with the key "prf_uid" stored in session array as variable "prf_uid_<prf_number>"
|
||||
Given I request "project/1265557095225ff5c688f46031700471/file-manager"
|
||||
Given I request "project/<project>/file-manager"
|
||||
Then the response status code should be 200
|
||||
And the response charset is "UTF-8"
|
||||
And the content type is "application/json"
|
||||
@@ -119,11 +146,15 @@ Scenario Outline: Get a single Files Manager and check some properties
|
||||
And that "prf_content" is set to "<prf_content>"
|
||||
|
||||
Examples:
|
||||
| test_description | prf_filename | prf_content | http_code | type | prf_number | row | prf_path |
|
||||
| put into public folder | file_test_1.txt | only text - modified | 200 | object | 0 | 1 | public/ |
|
||||
| put into mailtemplates folder | file_test_2.html | <h1>Test</h1><p>html test</p><i>modified</i> | 200 | object | 1 | 1 | templates/ |
|
||||
| put into public subfolder | file_test_3 | put test | 200 | object | 2 | 0 | public/public_subfolder |
|
||||
| put into mailtemplates subfolder | file_test_4 | put test | 200 | object | 3 | 0 | templates/templates_subfolder |
|
||||
| test_description .pm | project | prf_filename | prf_content | http_code | type | prf_number | row | prf_path |
|
||||
| put into public folder .pm | 1265557095225ff5c688f46031700471 | file_test_1.txt | only text - modified | 200 | object | 0 | 1 | public/ |
|
||||
| put into mailtemplates folder .pm | 1265557095225ff5c688f46031700471 | file_test_2.html | <h1>Test</h1><p>html test</p><i>modified</i> | 200 | object | 1 | 1 | templates/ |
|
||||
| put into public subfolder .pm | 1265557095225ff5c688f46031700471 | file_test_3 | put test | 200 | object | 2 | 0 | public/public_subfolder |
|
||||
| put into mailtemplates subfolder .pm | 1265557095225ff5c688f46031700471 | file_test_4 | put test | 200 | object | 3 | 0 | templates/templates_subfolder |
|
||||
| put into public folder .pmx | 1455892245368ebeb11c1a5001393784 | file_test_1.txt | only text - modified | 200 | object | 8 | 1 | public/ |
|
||||
| put into mailtemplates folder .pmx | 1455892245368ebeb11c1a5001393784 | file_test_2.html | <h1>Test</h1><p>html test</p><i>modified</i> | 200 | object | 9 | 1 | templates/ |
|
||||
| put into public subfolder .pmx | 1455892245368ebeb11c1a5001393784 | file_test_3 | put test | 200 | object | 10 | 0 | public/public_subfolder |
|
||||
| put into mailtemplates subfolder .pmx | 1455892245368ebeb11c1a5001393784 | file_test_4 | put test | 200 | object | 11 | 0 | templates/templates_subfolder |
|
||||
|
||||
|
||||
Scenario Outline: Upload files to same folders
|
||||
@@ -179,11 +210,15 @@ Scenario Outline: Download files
|
||||
Then the response status code should be 200
|
||||
|
||||
Examples:
|
||||
| test_description | prf_number |
|
||||
| Download file | 0 |
|
||||
| Download file | 1 |
|
||||
| Download file | 2 |
|
||||
| Download file | 4 |
|
||||
| test_description | prf_number | project |
|
||||
| Download file | 0 | 1265557095225ff5c688f46031700471 |
|
||||
| Download file | 1 | 1265557095225ff5c688f46031700471 |
|
||||
| Download file | 2 | 1265557095225ff5c688f46031700471 |
|
||||
| Download file | 4 | 1265557095225ff5c688f46031700471 |
|
||||
| Download file | 8 | 1455892245368ebeb11c1a5001393784 |
|
||||
| Download file | 9 | 1455892245368ebeb11c1a5001393784 |
|
||||
| Download file | 10 | 1455892245368ebeb11c1a5001393784 |
|
||||
| Download file | 11 | 1455892245368ebeb11c1a5001393784 |
|
||||
|
||||
|
||||
Scenario Outline: Delete file
|
||||
@@ -202,6 +237,10 @@ Scenario Outline: Delete file
|
||||
| delete mailtemplates subfolder | 5 |
|
||||
| delete mailtemplates subfolder | 6 |
|
||||
| delete | 7 |
|
||||
| delete | 8 |
|
||||
| delete | 9 |
|
||||
| delete | 10 |
|
||||
| delete | 11 |
|
||||
|
||||
|
||||
Scenario Outline: Delete folder
|
||||
@@ -225,5 +264,4 @@ Scenario Outline: Upload files with incorret extension ".exe" - "Project - Proce
|
||||
|
||||
Examples:
|
||||
| file | prf_path | prf_number |
|
||||
| filemanager.exe | templates | 1 |
|
||||
|
||||
| filemanager.exe | templates | 1 |
|
||||
@@ -4,19 +4,25 @@ Feature: Input Documents Main Tests
|
||||
a workspace with the process 14414793652a5d718b65590036026581 already loaded
|
||||
the process name is "Sample Project #1"
|
||||
there are zero input documents 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: Get the Input Documents List when there are exactly zero input documents
|
||||
Given I request "project/14414793652a5d718b65590036026581/input-documents"
|
||||
Scenario Outline: Get the Input Documents List when there are exactly zero input documents
|
||||
Given I request "project/<project>/input-documents"
|
||||
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 0 records
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get of inputs of the process Sample Project #1 | 14414793652a5d718b65590036026581 | 0 |
|
||||
| Get of inputs of the process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 1 |
|
||||
|
||||
|
||||
Scenario Outline: Create 13 new Input Documents
|
||||
@@ -42,22 +48,35 @@ Feature: Input Documents Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | inp_doc_number | inp_doc_title | inp_doc_description | inp_doc_form_needed | inp_doc_original | inp_doc_published | inp_doc_versioning | inp_doc_destination_path | inp_doc_tags |
|
||||
| Create with virtual with versioning | 14414793652a5d718b65590036026581 | 1 | My InputDocument1 | My InputDocument2 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with virtual without versioning | 14414793652a5d718b65590036026581 | 2 | My InputDocument2 | My InputDocument2 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 0 | | INPUT |
|
||||
| Create with real with versioning | 14414793652a5d718b65590036026581 | 3 | My InputDocument3 | My InputDocument3 DESCRIPTION | REAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with vreal with versioning | 14414793652a5d718b65590036026581 | 4 | My InputDocument4 | My InputDocument4 DESCRIPTION | VREAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with virtual, copy and versioning | 14414793652a5d718b65590036026581 | 5 | My InputDocument5 | My InputDocument5 DESCRIPTION | VIRTUAL | COPY | PRIVATE | 1 | | INPUT |
|
||||
| Create with virtual, original and without versioning | 14414793652a5d718b65590036026581 | 6 | My InputDocument6 | My InputDocument6 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 0 | | INPUT |
|
||||
| Create with virtual, versioning and destination path | 14414793652a5d718b65590036026581 | 7 | My InputDocument7 | My InputDocument7 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 1 | /my/path | INPUT |
|
||||
| Create with virtual, without versioning and destination path | 14414793652a5d718b65590036026581 | 8 | My InputDocument8 | My InputDocument8 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 0 | /my/path | INPUT |
|
||||
| Create with real, without versioning and destination path | 14414793652a5d718b65590036026581 | 9 | My InputDocument9 | My InputDocument9 DESCRIPTION | REAL | ORIGINAL | PRIVATE | 0 | /my/path | INPUT |
|
||||
| Create with special characters in inp doc title | 14414793652a5d718b65590036026581 | 10 | My InputDocument10 !@#$%^&*€¤½¼‘¾¡²¤³| My InputDocument10 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with special characters in inp doc description | 14414793652a5d718b65590036026581 | 11 | My InputDocument11 | My InputDocument11 !@#$%^&*€¤½¼‘¾¡²¤³| REAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with special characters in inp doc destination path | 14414793652a5d718b65590036026581 | 12 | My InputDocument12 | My InputDocument12 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 1 | /my#@$#%/path324@$@@ | INPUT |
|
||||
| Create with special characters in inp doc tags | 14414793652a5d718b65590036026581 | 13 | My InputDocument13 | My InputDocument13 DESCRIPTION | REAL | ORIGINAL | PRIVATE | 1 | | INPU455 @##$$³¤¤ |
|
||||
| test_description | project | inp_doc_number | inp_doc_title | inp_doc_description | inp_doc_form_needed | inp_doc_original | inp_doc_published | inp_doc_versioning | inp_doc_destination_path | inp_doc_tags |
|
||||
| Create with virtual with versioning .pm | 14414793652a5d718b65590036026581 | 1 | My InputDocument1 | My InputDocument2 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with virtual without versioning .pm | 14414793652a5d718b65590036026581 | 2 | My InputDocument2 | My InputDocument2 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 0 | | INPUT |
|
||||
| Create with real with versioning .pm | 14414793652a5d718b65590036026581 | 3 | My InputDocument3 | My InputDocument3 DESCRIPTION | REAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with vreal with versioning .pm | 14414793652a5d718b65590036026581 | 4 | My InputDocument4 | My InputDocument4 DESCRIPTION | VREAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with virtual, copy and versioning .pm | 14414793652a5d718b65590036026581 | 5 | My InputDocument5 | My InputDocument5 DESCRIPTION | VIRTUAL | COPY | PRIVATE | 1 | | INPUT |
|
||||
| Create with virtual, original and without versioning .pm | 14414793652a5d718b65590036026581 | 6 | My InputDocument6 | My InputDocument6 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 0 | | INPUT |
|
||||
| Create with virtual, versioning and destination path .pm | 14414793652a5d718b65590036026581 | 7 | My InputDocument7 | My InputDocument7 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 1 | /my/path | INPUT |
|
||||
| Create with virtual, without versioning and destination path .pm | 14414793652a5d718b65590036026581 | 8 | My InputDocument8 | My InputDocument8 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 0 | /my/path | INPUT |
|
||||
| Create with real, without versioning and destination path .pm | 14414793652a5d718b65590036026581 | 9 | My InputDocument9 | My InputDocument9 DESCRIPTION | REAL | ORIGINAL | PRIVATE | 0 | /my/path | INPUT |
|
||||
| Create with special characters in inp doc title .pm | 14414793652a5d718b65590036026581 | 10 | My InputDocument10 !@#$%^&*€¤½¼‘¾¡²¤³ | My InputDocument10 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with special characters in inp doc description .pm | 14414793652a5d718b65590036026581 | 11 | My InputDocument11 | My InputDocument11 !@#$%^&*€¤½¼‘¾¡²¤³| REAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with special characters in inp doc destination path .pm | 14414793652a5d718b65590036026581 | 12 | My InputDocument12 | My InputDocument12 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 1 | /my#@$#%/path324@$@@ | INPUT |
|
||||
| Create with special characters in inp doc tags .pm | 14414793652a5d718b65590036026581 | 13 | My InputDocument13 | My InputDocument13 DESCRIPTION | REAL | ORIGINAL | PRIVATE | 1 | | INPU455 @##$$³¤¤ |
|
||||
| Create with virtual with versioning .pmx | 1455892245368ebeb11c1a5001393784 | 14 | My InputDocument1 | My InputDocument2 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with virtual without versioning .pmx | 1455892245368ebeb11c1a5001393784 | 15 | My InputDocument2 | My InputDocument2 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 0 | | INPUT |
|
||||
| Create with real with versioning .pmx | 1455892245368ebeb11c1a5001393784 | 16 | My InputDocument3 | My InputDocument3 DESCRIPTION | REAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with vreal with versioning .pmx | 1455892245368ebeb11c1a5001393784 | 17 | My InputDocument4 | My InputDocument4 DESCRIPTION | VREAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with virtual, copy and versioning .pmx | 1455892245368ebeb11c1a5001393784 | 18 | My InputDocument5 | My InputDocument5 DESCRIPTION | VIRTUAL | COPY | PRIVATE | 1 | | INPUT |
|
||||
| Create with virtual, original and without versioning .pmx | 1455892245368ebeb11c1a5001393784 | 19 | My InputDocument6 | My InputDocument6 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 0 | | INPUT |
|
||||
| Create with virtual, versioning and destination path .pmx | 1455892245368ebeb11c1a5001393784 | 20 | My InputDocument7 | My InputDocument7 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 1 | /my/path | INPUT |
|
||||
| Create with virtual, without versioning and destination path .pmx | 1455892245368ebeb11c1a5001393784 | 21 | My InputDocument8 | My InputDocument8 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 0 | /my/path | INPUT |
|
||||
| Create with real, without versioning and destination path .pmx | 1455892245368ebeb11c1a5001393784 | 22 | My InputDocument9 | My InputDocument9 DESCRIPTION | REAL | ORIGINAL | PRIVATE | 0 | /my/path | INPUT |
|
||||
| Create with special characters in inp doc title .pmx | 1455892245368ebeb11c1a5001393784 | 23 | My InputDocument10 !@#$%^&*€¤½¼‘¾¡²¤³ | My InputDocument10 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with special characters in inp doc description .pmx | 1455892245368ebeb11c1a5001393784 | 24 | My InputDocument11 | My InputDocument11 !@#$%^&*€¤½¼‘¾¡²¤³| REAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Create with special characters in inp doc destination path .pmx | 1455892245368ebeb11c1a5001393784 | 25 | My InputDocument12 | My InputDocument12 DESCRIPTION | VIRTUAL | ORIGINAL | PRIVATE | 1 | /my#@$#%/path324@$@@ | INPUT |
|
||||
| Create with special characters in inp doc tags .pmx | 1455892245368ebeb11c1a5001393784 | 26 | My InputDocument13 | My InputDocument13 DESCRIPTION | REAL | ORIGINAL | PRIVATE | 1 | | INPU455 @##$$³¤¤ |
|
||||
|
||||
|
||||
|
||||
Scenario: Create new Input Documents with same name
|
||||
Given POST this data:
|
||||
"""
|
||||
@@ -77,14 +96,18 @@ Feature: Input Documents Main Tests
|
||||
And the response status message should have the following text "already exists"
|
||||
|
||||
|
||||
Scenario: Get the Input Documents list when there are 13 records
|
||||
Given I request "project/14414793652a5d718b65590036026581/input-documents"
|
||||
Scenario Outline: Get the Input Documents list when there are 13 records
|
||||
Given I request "project/<project>/input-documents"
|
||||
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 13 records
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get of inputs of the process Sample Project #1 | 14414793652a5d718b65590036026581 | 13 |
|
||||
| Get of inputs of the process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 14 |
|
||||
|
||||
|
||||
Scenario Outline: Update the Input Documents and then check if the values had changed
|
||||
@@ -111,12 +134,14 @@ Feature: Input Documents Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| test_description | project | inp_doc_number | inp_doc_title | inp_doc_description | inp_doc_form_needed | inp_doc_original | inp_doc_published | inp_doc_versioning | inp_doc_destination_path | inp_doc_tags |
|
||||
| Update inp doc title and inp doc description | 14414793652a5d718b65590036026581 | 1 | My InputDocument1 'UPDATE' | My InputDocument1 DESCRIPTION-update| VIRTUAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Update inp doc title, inp doc description and inp doc form needed | 14414793652a5d718b65590036026581 | 2 | My InputDocument2 'UPDATE' | My InputDocument2 DESCRIPTION-update| VREAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Update inp doc title, inp doc description and inp doc versioning | 14414793652a5d718b65590036026581 | 3 | My InputDocument3 'UPDATE' | My InputDocument3 DESCRIPTION-update| REAL | ORIGINAL | PRIVATE | 0 | | INPUT |
|
||||
|
||||
|
||||
| test_description | project | inp_doc_number | inp_doc_title | inp_doc_description | inp_doc_form_needed | inp_doc_original | inp_doc_published | inp_doc_versioning | inp_doc_destination_path | inp_doc_tags |
|
||||
| Update inp doc title and inp doc description .pm | 14414793652a5d718b65590036026581 | 1 | My InputDocument1 'UPDATE' | My InputDocument1 DESCRIPTION-update | VIRTUAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Update inp doc title, inp doc description and inp doc form needed .pm | 14414793652a5d718b65590036026581 | 2 | My InputDocument2 'UPDATE' | My InputDocument2 DESCRIPTION-update | VREAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Update inp doc title, inp doc description and inp doc versioning .pm | 14414793652a5d718b65590036026581 | 3 | My InputDocument3 'UPDATE' | My InputDocument3 DESCRIPTION-update | REAL | ORIGINAL | PRIVATE | 0 | | INPUT |
|
||||
| Update inp doc title and inp doc description .pmx | 1455892245368ebeb11c1a5001393784 | 14 | My InputDocument1 'UPDATE' | My InputDocument2 DESCRIPTION-update | VIRTUAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
| Update inp doc title, inp doc description and inp doc form needed .pmx | 1455892245368ebeb11c1a5001393784 | 15 | My InputDocument2 'UPDATE' | My InputDocument2 DESCRIPTION-update | VIRTUAL | ORIGINAL | PRIVATE | 0 | | INPUT |
|
||||
| Update inp doc title, inp doc description and inp doc versioning .pmx | 1455892245368ebeb11c1a5001393784 | 16 | My InputDocument3 'UPDATE' | My InputDocument3 DESCRIPTION-update | REAL | ORIGINAL | PRIVATE | 1 | | INPUT |
|
||||
|
||||
|
||||
Scenario Outline: Get a single Input Document to verify that the were updated correctly in previous step
|
||||
Given that I want to get a resource with the key "inp_doc_uid" stored in session array as variable "inp_doc_uid_<inp_doc_number>"
|
||||
@@ -132,13 +157,14 @@ Feature: Input Documents Main Tests
|
||||
|
||||
Examples:
|
||||
|
||||
| project | inp_doc_number | inp_doc_title | inp_doc_description | inp_doc_form_needed | inp_doc_versioning |
|
||||
| 14414793652a5d718b65590036026581 | 1 | My InputDocument1 'UPDATE' | My InputDocument1 DESCRIPTION-update| VIRTUAL | 1 |
|
||||
| 14414793652a5d718b65590036026581 | 2 | My InputDocument2 'UPDATE' | My InputDocument2 DESCRIPTION-update| VREAL | 1 |
|
||||
| 14414793652a5d718b65590036026581 | 3 | My InputDocument3 'UPDATE' | My InputDocument3 DESCRIPTION-update| REAL | 0 |
|
||||
|
||||
|
||||
|
||||
| test_description | project | inp_doc_number | inp_doc_title | inp_doc_description | inp_doc_form_needed | inp_doc_versioning |
|
||||
| Update inp doc title and inp doc description .pm | 14414793652a5d718b65590036026581 | 1 | My InputDocument1 'UPDATE' | My InputDocument1 DESCRIPTION-update | VIRTUAL | 1 |
|
||||
| Update inp doc title, inp doc description and inp doc form needed .pm | 14414793652a5d718b65590036026581 | 2 | My InputDocument2 'UPDATE' | My InputDocument2 DESCRIPTION-update | VREAL | 1 |
|
||||
| Update inp doc title, inp doc description and inp doc versioning .pm | 14414793652a5d718b65590036026581 | 3 | My InputDocument3 'UPDATE' | My InputDocument3 DESCRIPTION-update | REAL | 0 |
|
||||
| Update inp doc title and inp doc description .pmx | 1455892245368ebeb11c1a5001393784 | 14 | My InputDocument1 'UPDATE' | My InputDocument2 DESCRIPTION-update | VIRTUAL | 1 |
|
||||
| Update inp doc title, inp doc description and inp doc form needed .pmx | 1455892245368ebeb11c1a5001393784 | 15 | My InputDocument2 'UPDATE' | My InputDocument2 DESCRIPTION-update | VIRTUAL | 0 |
|
||||
| Update inp doc title, inp doc description and inp doc versioning .pmx | 1455892245368ebeb11c1a5001393784 | 16 | My InputDocument3 'UPDATE' | My InputDocument3 DESCRIPTION-update | REAL | 1 |
|
||||
|
||||
|
||||
Scenario Outline: Delete all Input documents created previously in this script
|
||||
Given that I want to delete a resource with the key "inp_out_uid" stored in session array as variable "inp_doc_uid_<inp_doc_number>"
|
||||
@@ -164,13 +190,30 @@ Feature: Input Documents Main Tests
|
||||
| 14414793652a5d718b65590036026581 | 11 |
|
||||
| 14414793652a5d718b65590036026581 | 12 |
|
||||
| 14414793652a5d718b65590036026581 | 13 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 14 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 15 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 16 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 17 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 18 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 19 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 20 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 21 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 22 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 23 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 24 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 25 |
|
||||
| 1455892245368ebeb11c1a5001393784 | 26 |
|
||||
|
||||
|
||||
|
||||
Scenario: Get the Input Documents List when there are exactly zero input documents after of delete all Input documents
|
||||
Given I request "project/14414793652a5d718b65590036026581/input-documents"
|
||||
Scenario Outline: Get the Input Documents List when there are exactly zero input documents after of delete all Input documents
|
||||
Given I request "project/<project>/input-documents"
|
||||
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 0 records
|
||||
And the response has <records> records
|
||||
|
||||
Examples:
|
||||
| test_description | project | records |
|
||||
| Get of inputs of the process Sample Project #1 | 14414793652a5d718b65590036026581 | 0 |
|
||||
| Get of inputs of the process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 1 |
|
||||
Reference in New Issue
Block a user