diff --git a/features/backend/projects/case_tracker/main_tests_case_tracker.feature b/features/backend/projects/case_tracker/main_tests_case_tracker.feature index f5f2598b6..4bf73f60e 100644 --- a/features/backend/projects/case_tracker/main_tests_case_tracker.feature +++ b/features/backend/projects/case_tracker/main_tests_case_tracker.feature @@ -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//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 "" + And the "routing_history" property equals "" + And the "message_history" property equals "" + 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": } """ - And I request "project/50259961452d82bf57f4f62051572528/case-tracker/property" + And I request "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//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 "" + And that "routing_history" is set to "" + And that "message_history" is set to "" + 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//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 + + 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": } """ - And I request "project/50259961452d82bf57f4f62051572528/case-tracker/object" + And I request "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//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 + 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" - And I request "project/50259961452d82bf57f4f62051572528/case-tracker/object" + And I request "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" - And I request "project/50259961452d82bf57f4f62051572528/case-tracker/object" + And I request "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 "" 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//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 + 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 | \ No newline at end of file diff --git a/features/backend/projects/database_connections/main_tests_database_connections_mysql.feature b/features/backend/projects/database_connections/main_tests_database_connections_mysql.feature index edef85ebf..4a49bed0b 100644 --- a/features/backend/projects/database_connections/main_tests_database_connections_mysql.feature +++ b/features/backend/projects/database_connections/main_tests_database_connections_mysql.feature @@ -36,7 +36,7 @@ Feature: DataBase Connections Main Tests MySQL } """ And I request "project//database-connection/test" - Then if database-connection is active continue + Then if database-connection with id "" 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 "" is active + And POST this data: """ { "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//database-connections" + Given database-connection with id "" is active + And I request "project//database-connections" Then the response status code should be 200 And the response charset is "UTF-8" And the response has 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 "" is active + And PUT this data: """ { "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_" + Given database-connection with id "" is active + And that I want to get a resource with the key "dbs_uid" stored in session array as variable "dbs_uid_" And I request "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_" + Given database-connection with id "" is active + And that I want to delete a resource with the key "dbs_uid" stored in session array as variable "dbs_uid_" And I request "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//database-connections" + Given database-connection with id "" is active + And I request "project//database-connections" Then the response status code should be 200 And the response charset is "UTF-8" And the response has 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 | \ No newline at end of file + | 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 | \ No newline at end of file diff --git a/features/backend/projects/dynaforms/main_tests_dynaform.feature b/features/backend/projects/dynaforms/main_tests_dynaform.feature index f48fb51a5..f3db7869d 100644 --- a/features/backend/projects/dynaforms/main_tests_dynaform.feature +++ b/features/backend/projects/dynaforms/main_tests_dynaform.feature @@ -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 - 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_" 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_" And I request "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_" And I request "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_" @@ -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 | diff --git a/features/backend/projects/events/main_tests_event.feature b/features/backend/projects/events/main_tests_event.feature index 81e8f4fc6..155a31376 100644 --- a/features/backend/projects/events/main_tests_event.feature +++ b/features/backend/projects/events/main_tests_event.feature @@ -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//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 - 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": "" } """ - And I request "project/251815090529619a99a2bf4013294414/event" + And I request "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//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 - - 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//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 - 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//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 - 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//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 + 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_" - And I request "project/251815090529619a99a2bf4013294414/event" + And I request "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_" - And I request "project/251815090529619a99a2bf4013294414/event" + And I request "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_" - And I request "project/251815090529619a99a2bf4013294414/event" + And I request "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//events" Then the response status code should be 200 And the response charset is "UTF-8" - And the response has 0 record \ No newline at end of file + And the response has 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 | \ No newline at end of file diff --git a/features/backend/projects/files_manager/main_test_files_manager.feature b/features/backend/projects/files_manager/main_test_files_manager.feature index 41a1005ec..5318f62ff 100644 --- a/features/backend/projects/files_manager/main_test_files_manager.feature +++ b/features/backend/projects/files_manager/main_test_files_manager.feature @@ -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//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//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 -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//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": "" } """ - And I request "project/1265557095225ff5c688f46031700471/file-manager" + And I request "project//file-manager" Then the response status code should be 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_" 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/ |

Test

html test

| 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/ |

Test

html test

| 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/ |

Test

html test

| 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_" - And I request "project/1265557095225ff5c688f46031700471/file-manager" + And I request "project//file-manager" Then the response status code should be And the response charset is "UTF-8" And the content type is "application/json" And the type is "" 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 |

Test

html test

modified | 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 |

Test

html test

modified | 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 |

Test

html test

modified | 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_" - Given I request "project/1265557095225ff5c688f46031700471/file-manager" + Given I request "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 "" 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 |

Test

html test

modified | 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 |

Test

html test

modified | 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 |

Test

html test

modified | 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 | \ No newline at end of file diff --git a/features/backend/projects/input_documents/main_tests_input.feature b/features/backend/projects/input_documents/main_tests_input.feature index 553e4ba41..8c2bab437 100644 --- a/features/backend/projects/input_documents/main_tests_input.feature +++ b/features/backend/projects/input_documents/main_tests_input.feature @@ -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//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 + + 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//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 + 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_" @@ -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_" @@ -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//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 + + 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 | \ No newline at end of file diff --git a/features/backend/projects/output_documents/main_tests_output.feature b/features/backend/projects/output_documents/main_tests_output.feature index f06fbbfad..9e5427896 100644 --- a/features/backend/projects/output_documents/main_tests_output.feature +++ b/features/backend/projects/output_documents/main_tests_output.feature @@ -3,36 +3,46 @@ Feature: Output Documents Main Tests Requirements: a workspace with the process 4224292655297723eb98691001100052 ("Test Users-Step-Properties End Point") 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 the Output Documents List when there are exactly two output documents - Given I request "project/4224292655297723eb98691001100052/output-documents" + Scenario Outline: Get the Output Documents List both process + Given I request "project//output-documents" 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 - And the "out_doc_title" property in row 0 equals "Endpoint Old Version (base)" - And the "out_doc_title" property in row 1 equals "Endpoint New Version (base)" + And the response has records + And the "out_doc_title" property in row 0 equals "" + + Examples: + | test_description | project | records | out_doc_title | + | List Outputs in process "Test Users-Step-Properties End Point" | 4224292655297723eb98691001100052 | 2 | Endpoint Old Version (base) | + | List Outputs in process "Process Complete BPMN" | 1455892245368ebeb11c1a5001393784 | 1 | Output Document | - Scenario: Get a single output document of a project + Scenario Outline: Get a single output document of a project the output document is previously created - Given I request "project/4224292655297723eb98691001100052/output-document/59969646352d6cd3caa0751003892895" + Given I request "project//output-document/" Then the response status code should be 200 And the response charset is "UTF-8" And the content type is "application/json" And the type is "object" - And the "out_doc_title" property equals "Endpoint New Version (base)" - And the "out_doc_filename" property equals "endpointnewversion" - And the "out_doc_report_generator" property equals "TCPDF" + And the "out_doc_title" property equals "" + And the "out_doc_filename" property equals "" + And the "out_doc_report_generator" property equals "" + + Examples: + | test_description | project | output-document | out_doc_title | out_doc_filename | out_doc_report_generator | + | List Outputs in process "Test Users-Step-Properties End Point" | 4224292655297723eb98691001100052 | 59969646352d6cd3caa0751003892895 | Endpoint New Version (base) | endpointnewversion | TCPDF | + | List Outputs in process "Process Complete BPMN" | 1455892245368ebeb11c1a5001393784 | 218529141536be955f0b646092366402 | Output Document | Output Document | TCPDF | - Scenario Outline: Create 17 new Output Documents + Scenario Outline: Create 17 new Output Documents in both process Given POST this data: """ { @@ -67,22 +77,37 @@ Feature: Output Documents Main Tests Examples: - | test_description | project | out_doc_number | out_doc_title | out_doc_description |out_doc_filename | out_doc_template |out_doc_report_generator | out_doc_landscape | out_doc_media | out_doc_left_margin | out_doc_right_margin | out_doc_top_margin | out_doc_bottom_margin | out_doc_generate | out_doc_type | out_doc_versioning | out_doc_destination_path | out_doc_tags | out_doc_pdf_security_enabled | out_doc_pdf_security_open_password | out_doc_pdf_security_owner_password | out_doc_pdf_security_permissions | - | Create with old version and both | 4224292655297723eb98691001100052 | 1 | Endpoint Old Version | Output Document old version - EndPoint | Output 1 | Example | HTML2PDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | - | Craate with old version and pdf security | 4224292655297723eb98691001100052 | 2 | Endpoint Old Version PDF SECURITY | Output Document old version PDF SECURITY | Output 2 | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy\|forms | - | Create with old version only doc | 4224292655297723eb98691001100052 | 3 | Endpoint Old Version Doc | Output Document old version solo doc | Output 3 | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | DOC | HTML | 1 | | | 0 | | | | - | Create with old version only pdf | 4224292655297723eb98691001100052 | 4 | Endpoint Old Version PDF | Output Document old version solo pdf | Output 4 | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | PDF | HTML | 1 | | | 1 | sample | sample | print | - | Create with new version and both | 4224292655297723eb98691001100052 | 5 | Endpoint New Version | Output Document new version - EndPoint | Output 5 | Example | TCPDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | - | Create with new version and pdf security | 4224292655297723eb98691001100052 | 6 | Endpoint New Version PDF SECURITY | Output Document new version PDF SECURITY | Output 6 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy\|forms | - | Create with new version only doc | 4224292655297723eb98691001100052 | 7 | Endpoint New Version Doc | Output Document new version solo doc | Output 7 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | DOC | HTML | 1 | | | 0 | | | | - | Create with new version only pdf | 4224292655297723eb98691001100052 | 8 | Endpoint New Version PDF | Output Document new version solo pdf | Output 8 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | PDF | HTML | 1 | | | 1 | sample | sample | print | - | Create with special characters in out doc title | 4224292655297723eb98691001100052 | 9 | test !@#$%^&*€¤¾½²³€¼½¼ | Output Document old version - EndPoint | Output 9 | Example | HTML2PDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | - | Create with special characters in out doc description | 4224292655297723eb98691001100052 | 10 | Endpoint Old1 | test %^&*€¤¾½²³€ | Output 10 | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy\|forms | - | Create with special characters in out doc filename | 4224292655297723eb98691001100052 | 11 | Endpoint Old Version Doc 2 | Output Document old version solo doc | Output @#$%^&*€¤ | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | DOC | HTML | 1 | | | 0 | | | | - | Create with special characters in out doc destination path | 4224292655297723eb98691001100052 | 12 | Endpoint New Version 16 | Output Document new version - EndPoint | Output 13 | Example | TCPDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | 23rg@#$% | | 0 | | | | - | Create with special characters in out doc tags | 4224292655297723eb98691001100052 | 13 | Endpoint New Version PDF SECURI17 | Output Document new version PDF SECURITY | Output 14 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | vfv23@$@% | 1 | sample | sample | print\|modify\|copy\|forms | - | Create with special characters in out doc pdf security open password | 4224292655297723eb98691001100052 | 14 | Endpoint New Version PDF 19 | Output Document new version solo pdf | Output 15 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | PDF | HTML | 1 | | | 1 | sample432@$#@$¼€¼½ | sample | print | - | Create with special characters in out doc pdf security owner password | 4224292655297723eb98691001100052 | 15 | Endpoint New Version 20 | Output Document new version - EndPoint | Output 16 | Example | TCPDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | sample432@$#@$¼€¼½ | | + | test_description .pm | project | out_doc_number | out_doc_title | out_doc_description |out_doc_filename | out_doc_template |out_doc_report_generator | out_doc_landscape | out_doc_media | out_doc_left_margin | out_doc_right_margin | out_doc_top_margin | out_doc_bottom_margin | out_doc_generate | out_doc_type | out_doc_versioning | out_doc_destination_path | out_doc_tags | out_doc_pdf_security_enabled | out_doc_pdf_security_open_password | out_doc_pdf_security_owner_password | out_doc_pdf_security_permissions | + | Create with old version and both .pm | 4224292655297723eb98691001100052 | 1 | Endpoint Old Version | Output Document old version - EndPoint | Output 1 | Example | HTML2PDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | + | Craate with old version and pdf security .pm | 4224292655297723eb98691001100052 | 2 | Endpoint Old Version PDF SECURITY | Output Document old version PDF SECURITY | Output 2 | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy\|forms | + | Create with old version only doc .pm | 4224292655297723eb98691001100052 | 3 | Endpoint Old Version Doc | Output Document old version solo doc | Output 3 | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | DOC | HTML | 1 | | | 0 | | | | + | Create with old version only pdf .pm | 4224292655297723eb98691001100052 | 4 | Endpoint Old Version PDF | Output Document old version solo pdf | Output 4 | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | PDF | HTML | 1 | | | 1 | sample | sample | print | + | Create with new version and both .pm | 4224292655297723eb98691001100052 | 5 | Endpoint New Version | Output Document new version - EndPoint | Output 5 | Example | TCPDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | + | Create with new version and pdf security .pm | 4224292655297723eb98691001100052 | 6 | Endpoint New Version PDF SECURITY | Output Document new version PDF SECURITY | Output 6 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy\|forms | + | Create with new version only doc .pm | 4224292655297723eb98691001100052 | 7 | Endpoint New Version Doc | Output Document new version solo doc | Output 7 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | DOC | HTML | 1 | | | 0 | | | | + | Create with new version only pdf .pm | 4224292655297723eb98691001100052 | 8 | Endpoint New Version PDF | Output Document new version solo pdf | Output 8 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | PDF | HTML | 1 | | | 1 | sample | sample | print | + | Create with special characters in out doc title .pm | 4224292655297723eb98691001100052 | 9 | test !@#$%^&*€¤¾½²³€¼½¼ | Output Document old version - EndPoint | Output 9 | Example | HTML2PDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | + | Create with special characters in out doc description .pm | 4224292655297723eb98691001100052 | 10 | Endpoint Old1 | test %^&*€¤¾½²³€ | Output 10 | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy\|forms | + | Create with special characters in out doc filename .pm | 4224292655297723eb98691001100052 | 11 | Endpoint Old Version Doc 2 | Output Document old version solo doc | Output @#$%^&*€¤ | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | DOC | HTML | 1 | | | 0 | | | | + | Create with special characters in out doc destination path .pm | 4224292655297723eb98691001100052 | 12 | Endpoint New Version 16 | Output Document new version - EndPoint | Output 13 | Example | TCPDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | 23rg@#$% | | 0 | | | | + | Create with special characters in out doc tags .pm | 4224292655297723eb98691001100052 | 13 | Endpoint New Version PDF SECURI17 | Output Document new version PDF SECURITY | Output 14 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | vfv23@$@% | 1 | sample | sample | print\|modify\|copy\|forms | + | Create with special characters in out doc pdf security open password .pm | 4224292655297723eb98691001100052 | 14 | Endpoint New Version PDF 19 | Output Document new version solo pdf | Output 15 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | PDF | HTML | 1 | | | 1 | sample432@$#@$¼€¼½ | sample | print | + | Create with special characters in out doc pdf security owner password .pm | 4224292655297723eb98691001100052 | 15 | Endpoint New Version 20 | Output Document new version - EndPoint | Output 16 | Example | TCPDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | sample432@$#@$¼€¼½ | | + | Create with old version and both .pmx | 1455892245368ebeb11c1a5001393784 | 16 | Endpoint Old Version | Output Document old version - EndPoint | Output 1 | Example | HTML2PDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | + | Craate with old version and pdf security .pmx | 1455892245368ebeb11c1a5001393784 | 17 | Endpoint Old Version PDF SECURITY | Output Document old version PDF SECURITY | Output 2 | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy\|forms | + | Create with old version only doc .pmx | 1455892245368ebeb11c1a5001393784 | 18 | Endpoint Old Version Doc | Output Document old version solo doc | Output 3 | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | DOC | HTML | 1 | | | 0 | | | | + | Create with old version only pdf .pmx | 1455892245368ebeb11c1a5001393784 | 19 | Endpoint Old Version PDF | Output Document old version solo pdf | Output 4 | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | PDF | HTML | 1 | | | 1 | sample | sample | print | + | Create with new version and both .pmx | 1455892245368ebeb11c1a5001393784 | 20 | Endpoint New Version | Output Document new version - EndPoint | Output 5 | Example | TCPDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | + | Create with new version and pdf security .pmx | 1455892245368ebeb11c1a5001393784 | 21 | Endpoint New Version PDF SECURITY | Output Document new version PDF SECURITY | Output 6 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy\|forms | + | Create with new version only doc .pmx | 1455892245368ebeb11c1a5001393784 | 22 | Endpoint New Version Doc | Output Document new version solo doc | Output 7 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | DOC | HTML | 1 | | | 0 | | | | + | Create with new version only pdf .pmx | 1455892245368ebeb11c1a5001393784 | 23 | Endpoint New Version PDF | Output Document new version solo pdf | Output 8 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | PDF | HTML | 1 | | | 1 | sample | sample | print | + | Create with special characters in out doc title .pmx | 1455892245368ebeb11c1a5001393784 | 24 | test !@#$%^&*€¤¾½²³€¼½¼ | Output Document old version - EndPoint | Output 9 | Example | HTML2PDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | + | Create with special characters in out doc description .pmx | 1455892245368ebeb11c1a5001393784 | 25 | Endpoint Old1 | test %^&*€¤¾½²³€ | Output 10 | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy\|forms | + | Create with special characters in out doc filename .pmx | 1455892245368ebeb11c1a5001393784 | 26 | Endpoint Old Version Doc 2 | Output Document old version solo doc | Output @#$%^&*€¤ | Example | HTML2PDF | 0 | Legal | 25 | 25 | 25 | 25 | DOC | HTML | 1 | | | 0 | | | | + | Create with special characters in out doc destination path .pmx | 1455892245368ebeb11c1a5001393784 | 27 | Endpoint New Version 16 | Output Document new version - EndPoint | Output 13 | Example | TCPDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | 23rg@#$% | | 0 | | | | + | Create with special characters in out doc tags .pmx | 1455892245368ebeb11c1a5001393784 | 28 | Endpoint New Version PDF SECURI17 | Output Document new version PDF SECURITY | Output 14 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | vfv23@$@% | 1 | sample | sample | print\|modify\|copy\|forms | + | Create with special characters in out doc pdf security open password .pmx | 1455892245368ebeb11c1a5001393784 | 29 | Endpoint New Version PDF 19 | Output Document new version solo pdf | Output 15 | Example | TCPDF | 0 | Legal | 25 | 25 | 25 | 25 | PDF | HTML | 1 | | | 1 | sample432@$#@$¼€¼½ | sample | print | + | Create with special characters in out doc pdf security owner password .pmx | 1455892245368ebeb11c1a5001393784 | 30 | Endpoint New Version 20 | Output Document new version - EndPoint | Output 16 | Example | TCPDF | 1 | Letter | 30 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | sample432@$#@$¼€¼½ | | Scenario: Create Output Documents with same name @@ -116,13 +141,18 @@ Feature: Output Documents Main Tests And the response status message should have the following text "same name" - Scenario: Get the Output Documents list when there are 19 records - Given I request "project/4224292655297723eb98691001100052/output-documents" + Scenario Outline: Get the Output Documents list + Given I request "project//output-documents" 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 17 records + And the response has records + + Examples: + | test_description | project | records | + | List Outputs in process "Test Users-Step-Properties End Point" | 4224292655297723eb98691001100052 | 17 | + | List Outputs in process "Process Complete BPMN" | 1455892245368ebeb11c1a5001393784 | 16 | Scenario Outline: Update the Output Documents and then check if the values had changed @@ -159,69 +189,94 @@ Feature: Output Documents Main Tests Examples: - | test_description | project | out_doc_number | out_doc_title | out_doc_description |out_doc_filename | out_doc_template | out_doc_report_generator | out_doc_landscape | out_doc_media | out_doc_left_margin | out_doc_right_margin | out_doc_top_margin | out_doc_bottom_margin | out_doc_generate | out_doc_type | out_doc_versioning | out_doc_destination_path | out_doc_tags | out_doc_pdf_security_enabled | out_doc_pdf_security_open_password | out_doc_pdf_security_owner_password | out_doc_pdf_security_permissions | - | Update out doc title and description | 4224292655297723eb98691001100052 | 1 | Endpoint Old Version UPDATE | Output Document old version - UPDATE | Output 1 | Example | HTML2PDF | 0 | Letter | 20 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | - | Update out doc title and out doc generate | 4224292655297723eb98691001100052 | 2 | Endpoint Old Version PDF SECURITY UPDATE | Output UPDATE old version PDF SECURITY | Output 2 | Example | TCPDF | 1 | Legal | 20 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy | - | Update out doc title and description | 4224292655297723eb98691001100052 | 5 | Endpoint New Version UPDATE | Output UPDATE new version - EndPoint | Output 5 | Example | TCPDF | 0 | Letter | 30 | 20 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | - | Update out doc title and out doc generate | 4224292655297723eb98691001100052 | 6 | Endpoint New Version PDF SECURITY UPDATE | Output UPDATE new version PDF SECURITY | Output 6 | Example | HTML2PDF | 1 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy | + | test_description | project | out_doc_number | out_doc_title | out_doc_description | out_doc_filename | out_doc_template | out_doc_report_generator | out_doc_landscape | out_doc_media | out_doc_left_margin | out_doc_right_margin | out_doc_top_margin | out_doc_bottom_margin | out_doc_generate | out_doc_type | out_doc_versioning | out_doc_destination_path | out_doc_tags | out_doc_pdf_security_enabled | out_doc_pdf_security_open_password | out_doc_pdf_security_owner_password | out_doc_pdf_security_permissions | + | Update out doc title and description .pm | 4224292655297723eb98691001100052 | 1 | Endpoint Old Version UPDATE | Output Document old version - UPDATE | Output 1 | Example | HTML2PDF | 0 | Letter | 20 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | + | Update out doc title and out doc generate .pm | 4224292655297723eb98691001100052 | 2 | Endpoint Old Version PDF SECURITY UPDATE | Output UPDATE old version PDF SECURITY | Output 2 | Example | TCPDF | 1 | Legal | 20 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy | + | Update out doc title and description .pm | 4224292655297723eb98691001100052 | 5 | Endpoint New Version UPDATE | Output UPDATE new version - EndPoint | Output 5 | Example | TCPDF | 0 | Letter | 30 | 20 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | + | Update out doc title and out doc generate .pm | 4224292655297723eb98691001100052 | 6 | Endpoint New Version PDF SECURITY UPDATE | Output UPDATE new version PDF SECURITY | Output 6 | Example | HTML2PDF | 1 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy | + | Update out doc title and description .pmx | 1455892245368ebeb11c1a5001393784 | 16 | Endpoint Old Version UPDATE | Output Document old version - UPDATE | Output 1 | Example | HTML2PDF | 0 | Letter | 20 | 30 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | + | Update out doc title and out doc generate .pmx | 1455892245368ebeb11c1a5001393784 | 17 | Endpoint Old Version PDF SECURITY UPDATE | Output UPDATE old version PDF SECURITY | Output 2 | Example | TCPDF | 1 | Legal | 20 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy | + | Update out doc title and description .pmx | 1455892245368ebeb11c1a5001393784 | 20 | Endpoint New Version UPDATE | Output UPDATE new version - EndPoint | Output 5 | Example | TCPDF | 0 | Letter | 30 | 20 | 30 | 30 | BOTH | HTML | 0 | | | 0 | | | | + | Update out doc title and out doc generate .pmx | 1455892245368ebeb11c1a5001393784 | 21 | Endpoint New Version PDF SECURITY UPDATE | Output UPDATE new version PDF SECURITY | Output 6 | Example | HTML2PDF | 1 | Legal | 25 | 25 | 25 | 25 | BOTH | HTML | 1 | | | 1 | sample | sample | print\|modify\|copy | - Scenario Outline: Get a single Output Document and check some properties - Given that I want to get a resource with the key "out_doc_uid" stored in session array as variable "out_doc_uid_" - And I request "project//output-document" - 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 "out_doc_title" is set to "" - And that "out_doc_description" is set to "" - And that "out_doc_filename" is set to "" + Scenario Outline: Get a single Output Document and check some properties + Given that I want to get a resource with the key "out_doc_uid" stored in session array as variable "out_doc_uid_" + And I request "project//output-document" + 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 "out_doc_title" is set to "" + And that "out_doc_description" is set to "" + And that "out_doc_filename" is set to "" Examples: - | project | out_doc_number | out_doc_title | out_doc_description |out_doc_filename | - | 4224292655297723eb98691001100052 | 1 | Endpoint Old Version UPDATE | Output Document old version - UPDATE | Output 1 | - | 4224292655297723eb98691001100052 | 2 | Endpoint Old Version PDF SECURITY UPDATE | Output UPDATE old version PDF SECURITY | Output 2 | - | 4224292655297723eb98691001100052 | 5 | Endpoint New Version UPDATE | Output UPDATE new version - EndPoint | Output 5 | - | 4224292655297723eb98691001100052 | 6 | Endpoint New Version PDF SECURITY UPDATE | Output UPDATE new version PDF SECURITY | Output 6 | + | test_description | project | out_doc_number | out_doc_title | out_doc_description |out_doc_filename | + | Update out doc title and description .pm | 4224292655297723eb98691001100052 | 1 | Endpoint Old Version UPDATE | Output Document old version - UPDATE | Output 1 | + | Update out doc title and out doc generate .pm | 4224292655297723eb98691001100052 | 2 | Endpoint Old Version PDF SECURITY UPDATE | Output UPDATE old version PDF SECURITY | Output 2 | + | Update out doc title and description .pm | 4224292655297723eb98691001100052 | 5 | Endpoint New Version UPDATE | Output UPDATE new version - EndPoint | Output 5 | + | Update out doc title and out doc generate .pm | 4224292655297723eb98691001100052 | 6 | Endpoint New Version PDF SECURITY UPDATE | Output UPDATE new version PDF SECURITY | Output 6 | + | Update out doc title and description .pmx | 1455892245368ebeb11c1a5001393784 | 16 | Endpoint Old Version UPDATE | Output Document old version - UPDATE | Output 1 | + | Update out doc title and out doc generate .pmx | 1455892245368ebeb11c1a5001393784 | 17 | Endpoint Old Version PDF SECURITY UPDATE | Output UPDATE old version PDF SECURITY | Output 2 | + | Update out doc title and description .pmx | 1455892245368ebeb11c1a5001393784 | 20 | Endpoint New Version UPDATE | Output UPDATE new version - EndPoint | Output 5 | + | Update out doc title and out doc generate .pmx | 1455892245368ebeb11c1a5001393784 | 21 | Endpoint New Version PDF SECURITY UPDATE | Output UPDATE new version PDF SECURITY | Output 6 | - Scenario Outline: Delete all Output documents created previously in this script + Scenario Outline: Delete all Output documents created previously in this script Given that I want to delete a resource with the key "out_doc_uid" stored in session array as variable "out_doc_uid_" - And I request "project//output-document" - 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 I request "project//output-document" + And the content type is "application/json" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "object" - Examples: + Examples: - | project | out_doc_number | - | 4224292655297723eb98691001100052 | 1 | - | 4224292655297723eb98691001100052 | 2 | - | 4224292655297723eb98691001100052 | 3 | - | 4224292655297723eb98691001100052 | 4 | - | 4224292655297723eb98691001100052 | 5 | - | 4224292655297723eb98691001100052 | 6 | - | 4224292655297723eb98691001100052 | 7 | - | 4224292655297723eb98691001100052 | 8 | - | 4224292655297723eb98691001100052 | 9 | - | 4224292655297723eb98691001100052 | 10 | - | 4224292655297723eb98691001100052 | 11 | - | 4224292655297723eb98691001100052 | 12 | - | 4224292655297723eb98691001100052 | 13 | - | 4224292655297723eb98691001100052 | 14 | - | 4224292655297723eb98691001100052 | 15 | + | project | out_doc_number | + | 4224292655297723eb98691001100052 | 1 | + | 4224292655297723eb98691001100052 | 2 | + | 4224292655297723eb98691001100052 | 3 | + | 4224292655297723eb98691001100052 | 4 | + | 4224292655297723eb98691001100052 | 5 | + | 4224292655297723eb98691001100052 | 6 | + | 4224292655297723eb98691001100052 | 7 | + | 4224292655297723eb98691001100052 | 8 | + | 4224292655297723eb98691001100052 | 9 | + | 4224292655297723eb98691001100052 | 10 | + | 4224292655297723eb98691001100052 | 11 | + | 4224292655297723eb98691001100052 | 12 | + | 4224292655297723eb98691001100052 | 13 | + | 4224292655297723eb98691001100052 | 14 | + | 4224292655297723eb98691001100052 | 15 | + | 1455892245368ebeb11c1a5001393784 | 16 | + | 1455892245368ebeb11c1a5001393784 | 17 | + | 1455892245368ebeb11c1a5001393784 | 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 | - Scenario: Get the Output Documents List when should be exactly two output documents - Given I request "project/4224292655297723eb98691001100052/output-documents" + Scenario Outline: Get the Output Documents List both process + Given I request "project//output-documents" 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 - And the "out_doc_title" property in row 0 equals "Endpoint Old Version (base)" - And the "out_doc_title" property in row 1 equals "Endpoint New Version (base)" - - \ No newline at end of file + And the response has records + And the "out_doc_title" property in row 0 equals "" + + Examples: + | test_description | project | records | out_doc_title | + | List Outputs in process "Test Users-Step-Properties End Point" | 4224292655297723eb98691001100052 | 2 | Endpoint Old Version (base) | + | List Outputs in process "Process Complete BPMN" | 1455892245368ebeb11c1a5001393784 | 1 | Output Document | diff --git a/features/backend/projects/process/main_tests_process.feature b/features/backend/projects/process/main_tests_process.feature index ade3117df..7cc300ec8 100644 --- a/features/backend/projects/process/main_tests_process.feature +++ b/features/backend/projects/process/main_tests_process.feature @@ -3,7 +3,7 @@ Feature: Process of a Project Resources Requirements: a workspace with the process 79409754952f8f5110c4342001470580 ("Test Process 2") and there are two activities and workspace with the process 58773281752f50297d6bf00047802053 ("Test Process 1") and there are two activities, in the process already loaded - + and workspace with the process 1455892245368ebeb11c1a5001393784 - "Process Complete BPMN" already loaded" already loaded Background: Given that I have a valid access_token @@ -44,11 +44,11 @@ Feature: Process of a Project Resources And that "pro_summary_dynaform" is set to "" And that "pro_calendar" is set to "" - Examples: - | project | pro_title | pro_description | pro_parent | pro_time | pro_timeunit | pro_status | pro_type_day | pro_type | pro_assignment | pro_show_map | pro_show_message | pro_subprocess | pro_tri_deleted | pro_tri_canceled | pro_tri_paused | pro_tri_reassigned | pro_show_delegate | pro_show_dynaform | pro_category | pro_sub_category | pro_industry | pro_update_date | pro_create_date | pro_create_user | pro_debug | pro_derivation_screen_tpl | pro_summary_dynaform | pro_calendar | - | 79409754952f8f5110c4342001470580 | Test Process 2 | | 79409754952f8f5110c4342001470580 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | null | 2014-02-10 10:49:37 | 00000000000000000000000000000001 | 0 | | | | - | 58773281752f50297d6bf00047802053 | Test Process 1 | | 58773281752f50297d6bf00047802053 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | null | 2014-02-07 10:58:15 | 00000000000000000000000000000001 | 0 | | | | + | Description | project | pro_title | pro_description | pro_parent | pro_time | pro_timeunit | pro_status | pro_type_day | pro_type | pro_assignment | pro_show_map | pro_show_message | pro_subprocess | pro_tri_deleted | pro_tri_canceled | pro_tri_paused | pro_tri_reassigned | pro_show_delegate | pro_show_dynaform | pro_category | pro_sub_category | pro_industry | pro_update_date | pro_create_date | pro_create_user | pro_debug | pro_derivation_screen_tpl | pro_summary_dynaform | pro_calendar | + | Get process Test Process 2 | 79409754952f8f5110c4342001470580 | Test Process 2 | | 79409754952f8f5110c4342001470580 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | null | 2014-02-10 10:49:37 | 00000000000000000000000000000001 | 0 | | | | + | Get process Test Process 1 | 58773281752f50297d6bf00047802053 | Test Process 1 | | 58773281752f50297d6bf00047802053 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | null | 2014-02-07 10:58:15 | 00000000000000000000000000000001 | 0 | | | | + | Get process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | Process Complete BPMN | | 1455892245368ebeb11c1a5001393784 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 1 | 0 | 712197294536bea56a8b4d0014148679 | 950769923536bea6a39c833033416052 | 350949312536bea73c53791057971272 | 712197294536bea56a8b4d0014148679 | 0 | 0 | 4177095085330818c324501061677193 | | 0 | null | 2014-08-19 09:17:41 | 00000000000000000000000000000001 | 0 | | 898822326536be3a12addb0034537553 | 14606161052f50839307899033145440 | Scenario Outline: Update Process @@ -92,9 +92,10 @@ Feature: Process of a Project Resources And the type is "object" Examples: - | project | pro_title | pro_description | pro_parent | pro_time | pro_timeunit | pro_status | pro_type_day | pro_type | pro_assignment | pro_show_map | pro_show_message | pro_subprocess | pro_tri_deleted | pro_tri_canceled | pro_tri_paused | pro_tri_reassigned | pro_show_delegate | pro_show_dynaform | pro_category | pro_sub_category | pro_industry | pro_update_date | pro_create_date | pro_create_user | pro_debug | pro_derivation_screen_tpl | pro_summary_dynaform | pro_calendar | - | 79409754952f8f5110c4342001470580 | Update Test Process 1 | Update Process - PUT | 79409754952f8f5110c4342001470580 | 1 | DAYS | INACTIVE | | NORMAL | 1 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | 2014-01-10 09:43:36 | 2015-12-09 09:43:36 | 00000000000000000000000000000001 | 0 | | | | - | 58773281752f50297d6bf00047802053 | Update Test Process 2 | Update Process - PUT | 58773281752f50297d6bf00047802053 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 1 | 1 | 1 | 69112537052f503b53142c2026229055 | 30169571352f50349539aa7005920345 | 45413889552f5037587e5a4073302257 | 23429991752f5035c3eab21091451118 | 1 | 0 | 4177095085330818c324501061677193 | | 0 | 2014-01-10 09:43:36 | 2014-02-07 10:58:15 | 51049032352d56710347233042615067 | 1 | tplScreen.html | 94906672952f5058bf3f0f8012616448 | 14606161052f50839307899033145440 | + | Description | project | pro_title | pro_description | pro_parent | pro_time | pro_timeunit | pro_status | pro_type_day | pro_type | pro_assignment | pro_show_map | pro_show_message | pro_subprocess | pro_tri_deleted | pro_tri_canceled | pro_tri_paused | pro_tri_reassigned | pro_show_delegate | pro_show_dynaform | pro_category | pro_sub_category | pro_industry | pro_update_date | pro_create_date | pro_create_user | pro_debug | pro_derivation_screen_tpl | pro_summary_dynaform | pro_calendar | + | Update process Test Process 2 | 79409754952f8f5110c4342001470580 | Update Test Process 1 | Update Process - PUT | 79409754952f8f5110c4342001470580 | 1 | DAYS | INACTIVE | | NORMAL | 1 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | 2014-01-10 09:43:36 | 2015-12-09 09:43:36 | 00000000000000000000000000000001 | 0 | | | | + | Update process Test Process 1 | 58773281752f50297d6bf00047802053 | Update Test Process 2 | Update Process - PUT | 58773281752f50297d6bf00047802053 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 1 | 1 | 1 | 69112537052f503b53142c2026229055 | 30169571352f50349539aa7005920345 | 45413889552f5037587e5a4073302257 | 23429991752f5035c3eab21091451118 | 1 | 0 | 4177095085330818c324501061677193 | | 0 | 2014-01-10 09:43:36 | 2014-02-07 10:58:15 | 51049032352d56710347233042615067 | 1 | tplScreen.html | 94906672952f5058bf3f0f8012616448 | 14606161052f50839307899033145440 | + | Update process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | Update Process Complete BPMN | | 1455892245368ebeb11c1a5001393784 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 1 | 0 | 712197294536bea56a8b4d0014148679 | 950769923536bea6a39c833033416052 | 350949312536bea73c53791057971272 | 712197294536bea56a8b4d0014148679 | 0 | 0 | 4177095085330818c324501061677193 | | 0 | 2014-01-10 09:43:36 | 2014-08-19 09:17:41 | 00000000000000000000000000000001 | 0 | | 898822326536be3a12addb0034537553 | 14606161052f50839307899033145440 | Scenario Outline: Get a single Process @@ -135,9 +136,10 @@ Feature: Process of a Project Resources Examples: - | project | pro_title | pro_description | pro_parent | pro_time | pro_timeunit | pro_status | pro_type_day | pro_type | pro_assignment | pro_show_map | pro_show_message | pro_subprocess | pro_tri_deleted | pro_tri_canceled | pro_tri_paused | pro_tri_reassigned | pro_show_delegate | pro_show_dynaform | pro_category | pro_sub_category | pro_industry | pro_update_date | pro_create_date | pro_create_user | pro_debug | pro_derivation_screen_tpl | pro_summary_dynaform | pro_calendar | - | 79409754952f8f5110c4342001470580 | Update Sample Project #1 | Update Process - PUT | 79409754952f8f5110c4342001470580 | 1 | DAYS | INACTIVE | | NORMAL | 1 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | 2014-01-10 09:43:36 | 2015-12-09 09:43:36 | 00000000000000000000000000000001 | 0 | | | | - | 58773281752f50297d6bf00047802053 | Update Test Process | Update Process - PUT | 58773281752f50297d6bf00047802053 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 1 | 1 | 1 | 69112537052f503b53142c2026229055 | 30169571352f50349539aa7005920345 | 45413889552f5037587e5a4073302257 | 23429991752f5035c3eab21091451118 | 1 | 0 | 4177095085330818c324501061677193 | | 0 | 2014-01-10 09:43:36 | 2014-02-07 10:58:15 | 51049032352d56710347233042615067 | 1 | tplScreen.html | 94906672952f5058bf3f0f8012616448 | 14606161052f50839307899033145440 | + | Description | project | pro_title | pro_description | pro_parent | pro_time | pro_timeunit | pro_status | pro_type_day | pro_type | pro_assignment | pro_show_map | pro_show_message | pro_subprocess | pro_tri_deleted | pro_tri_canceled | pro_tri_paused | pro_tri_reassigned | pro_show_delegate | pro_show_dynaform | pro_category | pro_sub_category | pro_industry | pro_update_date | pro_create_date | pro_create_user | pro_debug | pro_derivation_screen_tpl | pro_summary_dynaform | pro_calendar | + | Get process Test Process 2 | 79409754952f8f5110c4342001470580 | Update Sample Project #1 | Update Process - PUT | 79409754952f8f5110c4342001470580 | 1 | DAYS | INACTIVE | | NORMAL | 1 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | 2014-01-10 09:43:36 | 2015-12-09 09:43:36 | 00000000000000000000000000000001 | 0 | | | | + | Get process Test Process 1 | 58773281752f50297d6bf00047802053 | Update Test Process | Update Process - PUT | 58773281752f50297d6bf00047802053 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 1 | 1 | 1 | 69112537052f503b53142c2026229055 | 30169571352f50349539aa7005920345 | 45413889552f5037587e5a4073302257 | 23429991752f5035c3eab21091451118 | 1 | 0 | 4177095085330818c324501061677193 | | 0 | 2014-01-10 09:43:36 | 2014-02-07 10:58:15 | 51049032352d56710347233042615067 | 1 | tplScreen.html | 94906672952f5058bf3f0f8012616448 | 14606161052f50839307899033145440 | + | Get process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | Update Process Complete BPMN | | 1455892245368ebeb11c1a5001393784 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 1 | 0 | 712197294536bea56a8b4d0014148679 | 950769923536bea6a39c833033416052 | 350949312536bea73c53791057971272 | 712197294536bea56a8b4d0014148679 | 0 | 0 | 4177095085330818c324501061677193 | | 0 | 2014-01-10 09:43:36 | 2014-08-19 09:17:41 | 00000000000000000000000000000001 | 0 | | 898822326536be3a12addb0034537553 | 14606161052f50839307899033145440 | Scenario Outline: Update Process @@ -181,12 +183,13 @@ Feature: Process of a Project Resources And the type is "object" Examples: - | project | pro_title | pro_description | pro_parent | pro_time | pro_timeunit | pro_status | pro_type_day | pro_type | pro_assignment | pro_show_map | pro_show_message | pro_subprocess | pro_tri_deleted | pro_tri_canceled | pro_tri_paused | pro_tri_reassigned | pro_show_delegate | pro_show_dynaform | pro_category | pro_sub_category | pro_industry | pro_update_date | pro_create_date | pro_create_user | pro_debug | pro_derivation_screen_tpl | pro_summary_dynaform | pro_calendar | - | 79409754952f8f5110c4342001470580 | Test Process 2 | | 79409754952f8f5110c4342001470580 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | 2014-02-10 10:49:37 | 2014-02-10 10:49:37 | 00000000000000000000000000000001 | 0 | | | | - | 58773281752f50297d6bf00047802053 | Test Process 1 | | 58773281752f50297d6bf00047802053 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | 2014-02-10 10:49:37 | 2014-02-07 10:58:15 | 00000000000000000000000000000001 | 0 | | | | + | Description | project | pro_title | pro_description | pro_parent | pro_time | pro_timeunit | pro_status | pro_type_day | pro_type | pro_assignment | pro_show_map | pro_show_message | pro_subprocess | pro_tri_deleted | pro_tri_canceled | pro_tri_paused | pro_tri_reassigned | pro_show_delegate | pro_show_dynaform | pro_category | pro_sub_category | pro_industry | pro_update_date | pro_create_date | pro_create_user | pro_debug | pro_derivation_screen_tpl | pro_summary_dynaform | pro_calendar | + | Return values process Test Process 2 | 79409754952f8f5110c4342001470580 | Test Process 2 | | 79409754952f8f5110c4342001470580 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | 2014-02-10 10:49:37 | 2014-02-10 10:49:37 | 00000000000000000000000000000001 | 0 | | | | + | Return values process Test Process 1 | 58773281752f50297d6bf00047802053 | Test Process 1 | | 58773281752f50297d6bf00047802053 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | 2014-02-10 10:49:37 | 2014-02-07 10:58:15 | 00000000000000000000000000000001 | 0 | | | | + | Return values process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | Process Complete BPMN | | 1455892245368ebeb11c1a5001393784 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 1 | 0 | 712197294536bea56a8b4d0014148679 | 950769923536bea6a39c833033416052 | 350949312536bea73c53791057971272 | 712197294536bea56a8b4d0014148679 | 0 | 0 | 4177095085330818c324501061677193 | | 0 | 2014-01-10 09:43:36 | 2014-08-19 09:17:41 | 00000000000000000000000000000001 | 0 | | 898822326536be3a12addb0034537553 | 14606161052f50839307899033145440 | - Scenario Outline: Get a single Process + Scenario Outline: Get a single Process Given that I want to get a resource with the key "obj_uid" stored in session array And I request "project//process" And the content type is "application/json" @@ -224,6 +227,7 @@ Feature: Process of a Project Resources Examples: - | project | pro_title | pro_description | pro_parent | pro_time | pro_timeunit | pro_status | pro_type_day | pro_type | pro_assignment | pro_show_map | pro_show_message | pro_subprocess | pro_tri_deleted | pro_tri_canceled | pro_tri_paused | pro_tri_reassigned | pro_show_delegate | pro_show_dynaform | pro_category | pro_sub_category | pro_industry | pro_update_date | pro_create_date | pro_create_user | pro_debug | pro_derivation_screen_tpl | pro_summary_dynaform | pro_calendar | - | 79409754952f8f5110c4342001470580 | Test Process 2 | | 79409754952f8f5110c4342001470580 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | null | 2014-02-10 10:49:37 | 00000000000000000000000000000001 | 0 | | | | - | 58773281752f50297d6bf00047802053 | Test Process 1 | | 58773281752f50297d6bf00047802053 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | null | 2014-02-07 10:58:15 | 00000000000000000000000000000001 | 0 | | | | \ No newline at end of file + | Description | project | pro_title | pro_description | pro_parent | pro_time | pro_timeunit | pro_status | pro_type_day | pro_type | pro_assignment | pro_show_map | pro_show_message | pro_subprocess | pro_tri_deleted | pro_tri_canceled | pro_tri_paused | pro_tri_reassigned | pro_show_delegate | pro_show_dynaform | pro_category | pro_sub_category | pro_industry | pro_update_date | pro_create_date | pro_create_user | pro_debug | pro_derivation_screen_tpl | pro_summary_dynaform | pro_calendar | + | Get Return values process Test Process 2 | 79409754952f8f5110c4342001470580 | Test Process 2 | | 79409754952f8f5110c4342001470580 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | 2014-02-10 10:49:37 | 2014-02-10 10:49:37 | 00000000000000000000000000000001 | 0 | | | | + | Get Return values process Test Process 1 | 58773281752f50297d6bf00047802053 | Test Process 1 | | 58773281752f50297d6bf00047802053 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 0 | 0 | | | | | 0 | 0 | | | 0 | 2014-02-10 10:49:37 | 2014-02-07 10:58:15 | 00000000000000000000000000000001 | 0 | | | | + | Get Return values process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | Process Complete BPMN | | 1455892245368ebeb11c1a5001393784 | 1 | DAYS | ACTIVE | | NORMAL | 0 | 0 | 1 | 0 | 712197294536bea56a8b4d0014148679 | 950769923536bea6a39c833033416052 | 350949312536bea73c53791057971272 | 712197294536bea56a8b4d0014148679 | 0 | 0 | 4177095085330818c324501061677193 | | 0 | 2014-01-10 09:43:36 | 2014-08-19 09:17:41 | 00000000000000000000000000000001 | 0 | | 898822326536be3a12addb0034537553 | 14606161052f50839307899033145440 | \ No newline at end of file