Adicion de nuevos escenarios para pruebas con procesos .pmx, en los features report table y web entry

This commit is contained in:
Wendy Nestor
2014-09-26 12:22:15 -04:00
parent efafb66371
commit 3abb000efe
2 changed files with 130 additions and 79 deletions

View File

@@ -3,15 +3,22 @@ Feature: Report Tables
Requirements: Requirements:
a workspace with the process 922677707524ac7417ce345089010125 ("Test Designer Report Tables") already loaded a workspace with the process 922677707524ac7417ce345089010125 ("Test Designer Report Tables") already loaded
there are zero Report Table in the process there are zero Report Table 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 Given that I have a valid access_token
Scenario: Verify that there are no report tables Scenario Outline: Verify that there are no report tables
Given I request "project/922677707524ac7417ce345089010125/report-tables" Given I request "project/<project>/report-tables"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the response has 0 record And the response has <record> record
Examples:
| test_description | project | record |
| Get of report table of process Test Designer Report Tables | 922677707524ac7417ce345089010125 | 0 |
| Get of report table of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 1 |
Scenario Outline: Create new report tables from dynaform and grid Scenario Outline: Create new report tables from dynaform and grid
Given POST this data: Given POST this data:
@@ -51,10 +58,10 @@ Scenario Outline: Create new report tables from dynaform and grid
Examples: Examples:
| test_description | project | rep_uid_number | rep_tab_name | rep_tab_dsc | rep_tab_connection | rep_tab_type | rep_tab_grid | fld_dyn_1 | fld_name_1 | fld_label_1 | fld_type_1 | fld_size_1 | fld_dyn_2 | fld_name_2 | fld_label_2 | fld_type_2 | fld_size_2 | fld_dyn_3 | fld_name_3 | fld_label_3 | fld_type_3 | fld_size_3 | | test_description | project | rep_uid_number | rep_tab_name | rep_tab_dsc | rep_tab_connection | rep_tab_type | rep_tab_grid | fld_dyn_1 | fld_name_1 | fld_label_1 | fld_type_1 | fld_size_1 | fld_dyn_2 | fld_name_2 | fld_label_2 | fld_type_2 | fld_size_2 | fld_dyn_3 | fld_name_3 | fld_label_3 | fld_type_3 | fld_size_3 |
| Create a Report Table - Normal | 922677707524ac7417ce345089010125 | 1 | REPORT_TABLE_1 | Report Table Desc 1 | workflow | NORMAL | | nameany | NAME_ANY | Name Any | VARCHAR | 64 | date1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 15 | | Create a Report Table - Normal .pm | 922677707524ac7417ce345089010125 | 1 | REPORT_TABLE_1 | Report Table Desc 1 | workflow | NORMAL | | nameany | NAME_ANY | Name Any | VARCHAR | 64 | date1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 15 |
| Create a Report Table - Grid | 922677707524ac7417ce345089010125 | 2 | REPORT_TABLE_2 | Report Table Desc 2 | workflow | GRID | 267480685524ac9b3bd5e23004484669 | text1 | TEXT_1 | Text 1 | VARCHAR | 64 | fecha1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 15 | | Create a Report Table - Grid .pm | 922677707524ac7417ce345089010125 | 2 | REPORT_TABLE_2 | Report Table Desc 2 | workflow | GRID | 267480685524ac9b3bd5e23004484669 | text1 | TEXT_1 | Text 1 | VARCHAR | 64 | fecha1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 15 |
Scenario: Create a new database connection with same name Scenario: Create a new database connection with same name
Given POST this data: Given POST this data:
@@ -81,12 +88,16 @@ Scenario: Create a new database connection with same name
And the response status message should have the following text "already exits" And the response status message should have the following text "already exits"
Scenario: Verify that there are 2 report tables Scenario Outline: Verify that there are 2 report tables
Given I request "project/922677707524ac7417ce345089010125/report-tables" Given I request "project/<project>/report-tables"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the response has 2 record And the response has <record> record
Examples:
| test_description | project | record |
| Get of report table of process Test Designer Report Tables | 922677707524ac7417ce345089010125 | 2 |
Scenario Outline: Update a created report tables Scenario Outline: Update a created report tables
Given PUT this data: Given PUT this data:
@@ -122,13 +133,13 @@ Scenario Outline: Update a created report tables
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "object" And the type is "object"
Examples: Examples:
| test_description | project | rep_uid_number | rep_tab_name | rep_tab_dsc | rep_tab_connection | rep_tab_type | rep_tab_grid | fld_dyn_1 | fld_name_1 | fld_label_1 | fld_type_1 | fld_size_1 | fld_dyn_2 | fld_name_2 | fld_label_2 | fld_type_2 | fld_size_2 | fld_dyn_3 | fld_name_3 | fld_label_3 | fld_type_3 | fld_size_3 | | test_description | project | rep_uid_number | rep_tab_name | rep_tab_dsc | rep_tab_connection | rep_tab_type | rep_tab_grid | fld_dyn_1 | fld_name_1 | fld_label_1 | fld_type_1 | fld_size_1 | fld_dyn_2 | fld_name_2 | fld_label_2 | fld_type_2 | fld_size_2 | fld_dyn_3 | fld_name_3 | fld_label_3 | fld_type_3 | fld_size_3 |
| Update a Report Table - Normal | 922677707524ac7417ce345089010125 | 1 | REPORT_TABLE_1 | Report Table Desc Updated 1 | workflow | NORMAL | | nameany | NAME_ANY | Name Any | VARCHAR | 64 | date1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 150 | | Update a Report Table - Normal .pm | 922677707524ac7417ce345089010125 | 1 | REPORT_TABLE_1 | Report Table Desc Updated 1 | workflow | NORMAL | | nameany | NAME_ANY | Name Any | VARCHAR | 64 | date1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 150 |
| Update a Report Table - Grid | 922677707524ac7417ce345089010125 | 2 | REPORT_TABLE_2 | Report Table Desc Updated 2 | workflow | GRID | 267480685524ac9b3bd5e23004484669 | text1 | TEXT_1 | Text 1 | VARCHAR | 64 | fecha1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 150 | | Update a Report Table - Grid .pm | 922677707524ac7417ce345089010125 | 2 | REPORT_TABLE_2 | Report Table Desc Updated 2 | workflow | GRID | 267480685524ac9b3bd5e23004484669 | text1 | TEXT_1 | Text 1 | VARCHAR | 64 | fecha1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 150 |
Scenario Outline: Get a details of created report tables Scenario Outline: Get a details of created report tables
Given that I want to get a resource with the key "rep_uid" stored in session array as variable "rep_uid_<rep_uid_number>" Given that I want to get a resource with the key "rep_uid" stored in session array as variable "rep_uid_<rep_uid_number>"
@@ -141,10 +152,10 @@ Scenario Outline: Get a details of created report tables
Examples: Examples:
| project | rep_uid_number | rep_tab_name | rep_tab_dsc | rep_tab_connection | rep_tab_type | rep_tab_grid | fld_dyn_1 | fld_name_1 | fld_label_1 | fld_type_1 | fld_size_1 | fld_dyn_2 | fld_name_2 | fld_label_2 | fld_type_2 | fld_size_2 | fld_dyn_3 | fld_name_3 | fld_label_3 | fld_type_3 | fld_size_3 | | test_description | project | rep_uid_number | rep_tab_name | rep_tab_dsc | rep_tab_connection | rep_tab_type | rep_tab_grid | fld_dyn_1 | fld_name_1 | fld_label_1 | fld_type_1 | fld_size_1 | fld_dyn_2 | fld_name_2 | fld_label_2 | fld_type_2 | fld_size_2 | fld_dyn_3 | fld_name_3 | fld_label_3 | fld_type_3 | fld_size_3 |
| 922677707524ac7417ce345089010125 | 1 | REPORT_TABLE_1 | Report Table Desc Updated 1 | workflow | NORMAL | | nameany | NAME_ANY | Name Any | VARCHAR | 64 | date1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 150 | | Update a Report Table - Normal .pm | 922677707524ac7417ce345089010125 | 1 | REPORT_TABLE_1 | Report Table Desc Updated 1 | workflow | NORMAL | | nameany | NAME_ANY | Name Any | VARCHAR | 64 | date1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 150 |
| 922677707524ac7417ce345089010125 | 2 | REPORT_TABLE_2 | Report Table Desc Updated 2 | workflow | GRID | grid | text1 | TEXT_1 | Text 1 | VARCHAR | 64 | fecha1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 150 | | Update a Report Table - Grid .pm | 922677707524ac7417ce345089010125 | 2 | REPORT_TABLE_2 | Report Table Desc Updated 2 | workflow | GRID | grid | text1 | TEXT_1 | Text 1 | VARCHAR | 64 | fecha1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 150 |
Scenario Outline: Populate report tables Scenario Outline: Populate report tables
Given I request "project/<project>/report-table/rep_uid/populate" with the key "rep_uid" stored in session array as variable "rep_uid_<rep_uid_number>" Given I request "project/<project>/report-table/rep_uid/populate" with the key "rep_uid" stored in session array as variable "rep_uid_<rep_uid_number>"
@@ -152,12 +163,11 @@ Scenario Outline: Populate report tables
Examples: Examples:
| test_description | project | rep_uid_number | rep_tab_name | rep_tab_dsc | rep_tab_connection | rep_tab_type | rep_tab_grid | fld_dyn_1 | fld_name_1 | fld_label_1 | fld_type_1 | fld_size_1 | fld_dyn_2 | fld_name_2 | fld_label_2 | fld_type_2 | fld_size_2 | fld_dyn_3 | fld_name_3 | fld_label_3 | fld_type_3 | fld_size_3 | | test_description | project | rep_uid_number | rep_tab_name | rep_tab_dsc | rep_tab_connection | rep_tab_type | rep_tab_grid | fld_dyn_1 | fld_name_1 | fld_label_1 | fld_type_1 | fld_size_1 | fld_dyn_2 | fld_name_2 | fld_label_2 | fld_type_2 | fld_size_2 | fld_dyn_3 | fld_name_3 | fld_label_3 | fld_type_3 | fld_size_3 |
| Populate Report Table Normal | 922677707524ac7417ce345089010125 | 1 | REPORT_TABLE_1 | Report Table Desc Updated 1 | workflow | NORMAL | | nameany | NAME_ANY | Name Any | VARCHAR | 64 | date1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 150 | | Populate Report Table Normal .pm | 922677707524ac7417ce345089010125 | 1 | REPORT_TABLE_1 | Report Table Desc Updated 1 | workflow | NORMAL | | nameany | NAME_ANY | Name Any | VARCHAR | 64 | date1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 150 |
| Populate Report Table Grid | 922677707524ac7417ce345089010125 | 2 | REPORT_TABLE_2 | Report Table Desc Updated 2 | workflow | GRID | grid | text1 | TEXT_1 | Text 1 | VARCHAR | 64 | fecha1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 150 | | Populate Report Table Grid .pm | 922677707524ac7417ce345089010125 | 2 | REPORT_TABLE_2 | Report Table Desc Updated 2 | workflow | GRID | grid | text1 | TEXT_1 | Text 1 | VARCHAR | 64 | fecha1 | DATE_1 | Date | DATE | 0 | | CUSTOM_FIELD_1 | Custom Field 1 | VARCHAR | 150 |
Scenario Outline: Delete a created report tables Scenario Outline: Delete a created report tables
Given that I want to delete a resource with the key "rep_uid" stored in session array as variable "rep_uid_<rep_uid_number>" Given that I want to delete a resource with the key "rep_uid" stored in session array as variable "rep_uid_<rep_uid_number>"
@@ -168,13 +178,19 @@ Scenario Outline: Delete a created report tables
Examples: Examples:
| test_description | project | rep_uid_number | | test_description | project | rep_uid_number |
| Delete Report Table Normal | 922677707524ac7417ce345089010125 | 1 | | Delete Report Table Normal .pm | 922677707524ac7417ce345089010125 | 1 |
| Delete Report Table Grid | 922677707524ac7417ce345089010125 | 2 | | Delete Report Table Grid .pm | 922677707524ac7417ce345089010125 | 2 |
Scenario Outline: Verify that the report tables were deleted correctly
Scenario: Verify that the report tables were deleted correctly Given I request "project/<project>/report-tables"
Given I request "project/922677707524ac7417ce345089010125/report-tables"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the response has 0 record And the response has <record> record
Examples:
| test_description | project | record |
| Get of report table of process Test Designer Report Tables | 922677707524ac7417ce345089010125 | 0 |
| Get of report table of process Process Complete BPMN | 1455892245368ebeb11c1a5001393784 | 1 |

View File

@@ -3,6 +3,7 @@ Feature: Web Entry Main Tests
Requirements: Requirements:
a workspace with the process 28733629952e66a362c4f63066393844 ("Sample Project #5 (Web Entry)") already loaded a workspace with the process 28733629952e66a362c4f63066393844 ("Sample Project #5 (Web Entry)") already loaded
there are zero web entry in the process there are zero web entry 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 Given that I have a valid access_token
@@ -10,21 +11,24 @@ Background:
#ASSIGNEE USER OF AN ACTIVITY #ASSIGNEE USER OF AN ACTIVITY
Scenario Outline: List assignees of an activity Scenario Outline: List assignees of an activity
Given I request "project/28733629952e66a362c4f63066393844/activity/<tas_uid>/assignee" Given I request "project/<project>/activity/<tas_uid>/assignee"
And the content type is "application/json" And the content type is "application/json"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "array" And the type is "array"
And the json data is an empty array And the response has <records> records
Examples: Examples:
| tas_uid | tas_title | | Description | project | tas_uid | tas_title | records |
| 44199549652e66ba533bb06088252754 | Task 1 | | Get list activity of process .pm | 28733629952e66a362c4f63066393844 | 44199549652e66ba533bb06088252754 | Task 1 | 0 |
| 56118778152e66babcc2103002009439 | Task 2 | | Get list activity of process .pm | 28733629952e66a362c4f63066393844 | 56118778152e66babcc2103002009439 | Task 2 | 0 |
| 18096002352e66bc1643af8048493068 | Task 3 | | Get list activity of process .pm | 28733629952e66a362c4f63066393844 | 18096002352e66bc1643af8048493068 | Task 3 | 0 |
| Get list activity of process .pmx | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | Task 1 | 1 |
| Get list activity of process .pmx | 1455892245368ebeb11c1a5001393784 | 4790702485368efad167477011123879 | Task 2 | 1 |
| Get list activity of process .pmx | 1455892245368ebeb11c1a5001393784 | 2072984565368efc137a394001073529 | Task 3 | 1 |
Scenario Outline: Assign a user or group to an activity Scenario Outline: Assign a user or group to an activity
Given POST this data: Given POST this data:
""" """
@@ -48,14 +52,20 @@ Scenario Outline: Assign a user or group to an activity
#WEB ENTRY #WEB ENTRY
Scenario: Get list Web Entries of a Project when there are exactly zero web entries Scenario Outline: Get list Web Entries of a Project when there are exactly zero web entries
And I request "project/28733629952e66a362c4f63066393844/web-entries" And I request "project/<project>/web-entries"
And the content type is "application/json" And the content type is "application/json"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "array" And the type is "array"
And the response has 0 records And the response has <records> records
Examples:
| Description | project | records |
| Get list web entry of process .pm | 28733629952e66a362c4f63066393844 | 0 |
| Get list web entry of process .pmx | 1455892245368ebeb11c1a5001393784 | 1 |
Scenario Outline: Create a new Web Entry using the method: PHP pages with Web Services Scenario Outline: Create a new Web Entry using the method: PHP pages with Web Services
Given POST this data: Given POST this data:
@@ -70,7 +80,7 @@ Scenario Outline: Create a new Web Entry using the method: PHP pages with Web Se
"we_input_document_access": <we_input_document_access> "we_input_document_access": <we_input_document_access>
} }
""" """
And I request "project/28733629952e66a362c4f63066393844/web-entry" And I request "project/<project>/web-entry"
And the content type is "application/json" And the content type is "application/json"
Then the response status code should be 201 Then the response status code should be 201
And the response charset is "UTF-8" And the response charset is "UTF-8"
@@ -85,24 +95,33 @@ Scenario Outline: Create a new Web Entry using the method: PHP pages with Web Se
Examples: Examples:
| Description | we_number | tas_uid | we_title | dyn_uid | we_description | we_input_document_access | | Description | we_number | project | tas_uid | we_title | dyn_uid | we_description | we_input_document_access |
| Web entry PHP task 1, with values normal | 1 | 44199549652e66ba533bb06088252754 | Web Entry PHP 1 | 60308801852e66b7181ae21045247174 | Webservice PHP Description 1 | 1 | | Web entry PHP task 1, with values normal .pm | 1 | 28733629952e66a362c4f63066393844 | 44199549652e66ba533bb06088252754 | Web Entry PHP 1 | 60308801852e66b7181ae21045247174 | Webservice PHP Description 1 | 1 |
| Web entry PHP task 2, with character special | 2 | 56118778152e66babcc2103002009439 | Web Entry PHP 2 @#$%&* | 99869771852e66b7dc4b858088901665 | Webservice PHP Description 2 | 1 | | Web entry PHP task 2, with character special .pm | 2 | 28733629952e66a362c4f63066393844 | 56118778152e66babcc2103002009439 | Web Entry PHP 2 @#$%&* | 99869771852e66b7dc4b858088901665 | Webservice PHP Description 2 | 1 |
| Web entry PHP task 3, with we_input_document_access in 0 | 3 | 18096002352e66bc1643af8048493068 | Web Entry PHP 3 | 37977455352e66b892babe6071295002 | Webservice PHP Description 3 | 0 | | Web entry PHP task 3, with we_input_document_access in 0 .pm | 3 | 28733629952e66a362c4f63066393844 | 18096002352e66bc1643af8048493068 | Web Entry PHP 3 | 37977455352e66b892babe6071295002 | Webservice PHP Description 3 | 0 |
| Web entry PHP task 1, with values normal .pmx | 7 | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | x Web Entry PHP 1 | 898822326536be3a12addb0034537553 | Webservice PHP Description 1 | 1 |
| Web entry PHP task 2, with character special .pmx | 8 | 1455892245368ebeb11c1a5001393784 | 4790702485368efad167477011123879 | x Web Entry PHP 2 @#$%&* | 318701641536be67467eb84048959982 | Webservice PHP Description 2 | 1 |
| Web entry PHP task 3, with we_input_document_access in 0 .pmx | 9 | 1455892245368ebeb11c1a5001393784 | 2072984565368efc137a394001073529 | x Web Entry PHP 3 | 923528807536be661d3d421038593630 | Webservice PHP Description 3 | 0 |
Scenario: Get list Web Entries of a Project after created in this scritp web entries PHP Scenario Outline: Get list Web Entries of a Project after created in this scritp web entries PHP
And I request "project/28733629952e66a362c4f63066393844/web-entries" And I request "project/<project>/web-entries"
And the content type is "application/json" And the content type is "application/json"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "array" And the type is "array"
And the response has 3 records And the response has <records> records
Examples:
| Description | project | records |
| Get list web entry of process .pm | 28733629952e66a362c4f63066393844 | 3 |
| Get list web entry of process .pmx | 1455892245368ebeb11c1a5001393784 | 4 |
Scenario Outline: Get a single Web Entry PHP of a Project Scenario Outline: Get a single Web Entry PHP of a Project
Given that I want to get a resource with the key "we_uid" stored in session array as variable "we_uid_<we_number>" Given that I want to get a resource with the key "we_uid" stored in session array as variable "we_uid_<we_number>"
And I request "project/28733629952e66a362c4f63066393844/web-entry" And I request "project/<project>/web-entry"
And the content type is "application/json" And the content type is "application/json"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
@@ -113,10 +132,13 @@ Scenario Outline: Get a single Web Entry PHP of a Project
Examples: Examples:
| we_number | tas_uid | we_title | dyn_uid | we_description | we_input_document_access | | we_number | project | tas_uid | we_title | dyn_uid | we_description | we_input_document_access |
| 1 | 44199549652e66ba533bb06088252754 | Web Entry PHP 1 | 60308801852e66b7181ae21045247174 | Webservice PHP Description 1 | 1 | | 1 | 28733629952e66a362c4f63066393844 | 44199549652e66ba533bb06088252754 | Web Entry PHP 1 | 60308801852e66b7181ae21045247174 | Webservice PHP Description 1 | 1 |
| 2 | 56118778152e66babcc2103002009439 | Web Entry PHP 2 @#$%&* | 99869771852e66b7dc4b858088901665 | Webservice PHP Description 2 | 1 | | 2 | 28733629952e66a362c4f63066393844 | 56118778152e66babcc2103002009439 | Web Entry PHP 2 @#$%&* | 99869771852e66b7dc4b858088901665 | Webservice PHP Description 2 | 1 |
| 3 | 18096002352e66bc1643af8048493068 | Web Entry PHP 3 | 37977455352e66b892babe6071295002 | Webservice PHP Description 3 | 0 | | 3 | 28733629952e66a362c4f63066393844 | 18096002352e66bc1643af8048493068 | Web Entry PHP 3 | 37977455352e66b892babe6071295002 | Webservice PHP Description 3 | 0 |
| 7 | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | xWeb Entry PHP 1 | 898822326536be3a12addb0034537553 | Webservice PHP Description 1 | 1 |
| 8 | 1455892245368ebeb11c1a5001393784 | 4790702485368efad167477011123879 | xWeb Entry PHP 2 @#$%&* | 318701641536be67467eb84048959982 | Webservice PHP Description 2 | 1 |
| 9 | 1455892245368ebeb11c1a5001393784 | 2072984565368efc137a394001073529 | xWeb Entry PHP 3 | 923528807536be661d3d421038593630 | Webservice PHP Description 3 | 0 |
Scenario Outline: Update Web Entry PHP Scenario Outline: Update Web Entry PHP
@@ -125,29 +147,30 @@ Scenario Outline: Update Web Entry PHP
{ {
"tas_uid": "<tas_uid>", "tas_uid": "<tas_uid>",
"dyn_uid": "<dyn_uid>", "dyn_uid": "<dyn_uid>",
"usr_uid": "<usr_uid>",
"we_title": "<we_title>", "we_title": "<we_title>",
"we_description": "<we_description>", "we_description": "<we_description>",
"we_method": "<we_method>", "we_method": "WS",
"we_input_document_access": 1 "we_input_document_access": 1
} }
""" """
And that I want to update a resource with the key "we_uid" stored in session array as variable "we_uid_<we_number>" And that I want to update a resource with the key "we_uid" stored in session array as variable "we_uid_<we_number>"
And I request "project/28733629952e66a362c4f63066393844/web-entry" And I request "project/<project>/web-entry"
And the content type is "application/json" And the content type is "application/json"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
Examples: Examples:
| we_number | tas_uid | we_title | dyn_uid | we_description | usr_uid | we_method | | we_number | project | tas_uid | we_title | dyn_uid | we_description | we_input_document_access |
| 1 | 44199549652e66ba533bb06088252754 | Update Web Entry PHP 1 | 60308801852e66b7181ae21045247174 | Update Webservice PHP Description 1 | 00000000000000000000000000000001 | WS | | 1 | 28733629952e66a362c4f63066393844 | 44199549652e66ba533bb06088252754 | Update Web Entry PHP 1 | 60308801852e66b7181ae21045247174 | Update Webservice PHP Description 1 | 1 |
| 2 | 56118778152e66babcc2103002009439 | Update Web Entry PHP 2 @#$%&* | 99869771852e66b7dc4b858088901665 | Update Webservice PHP Description 2 | 00000000000000000000000000000001 | WS | | 2 | 28733629952e66a362c4f63066393844 | 56118778152e66babcc2103002009439 | Update Web Entry PHP 2 @#$%&* | 99869771852e66b7dc4b858088901665 | Update Webservice PHP Description 2 | 1 |
| 7 | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | xUpdate Web Entry PHP 1 | 898822326536be3a12addb0034537553 | Upadte Webservice PHP Description 1 | 1 |
| 8 | 1455892245368ebeb11c1a5001393784 | 4790702485368efad167477011123879 | xUpdate Web Entry PHP 2 @#$%&* | 318701641536be67467eb84048959982 | Upadte Webservice PHP Description 2 | 1 |
Scenario Outline: Get a single Web Entry PHP of a Project Scenario Outline: Get a single Web Entry PHP of a Project
Given that I want to get a resource with the key "we_uid" stored in session array as variable "we_uid_<we_number>" Given that I want to get a resource with the key "we_uid" stored in session array as variable "we_uid_<we_number>"
And I request "project/28733629952e66a362c4f63066393844/web-entry" And I request "project/<project>/web-entry"
And the content type is "application/json" And the content type is "application/json"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
@@ -158,10 +181,13 @@ Scenario Outline: Get a single Web Entry PHP of a Project
Examples: Examples:
| we_number | tas_uid | we_title | dyn_uid | we_description | usr_uid | we_method | | we_number | project | tas_uid | we_title | dyn_uid | we_description | usr_uid | we_method |
| 1 | 44199549652e66ba533bb06088252754 | Update Web Entry PHP 1 | 60308801852e66b7181ae21045247174 | Update Webservice PHP Description 1 | 00000000000000000000000000000001 | WS | | 1 | 28733629952e66a362c4f63066393844 | 44199549652e66ba533bb06088252754 | Update Web Entry PHP 1 | 60308801852e66b7181ae21045247174 | Update Webservice PHP Description 1 | 00000000000000000000000000000001 | WS |
| 2 | 56118778152e66babcc2103002009439 | Update Web Entry PHP 2 @#$%&* | 99869771852e66b7dc4b858088901665 | Update Webservice PHP Description 2 | 00000000000000000000000000000001 | WS | | 2 | 28733629952e66a362c4f63066393844 | 56118778152e66babcc2103002009439 | Update Web Entry PHP 2 @#$%&* | 99869771852e66b7dc4b858088901665 | Update Webservice PHP Description 2 | 00000000000000000000000000000001 | WS |
| 3 | 18096002352e66bc1643af8048493068 | Web Entry PHP 3 | 37977455352e66b892babe6071295002 | Webservice PHP Description 3 | 00000000000000000000000000000001 | WS | | 3 | 28733629952e66a362c4f63066393844 | 18096002352e66bc1643af8048493068 | Web Entry PHP 3 | 37977455352e66b892babe6071295002 | Webservice PHP Description 3 | 00000000000000000000000000000001 | WS |
| 7 | 1455892245368ebeb11c1a5001393784 | 6274755055368eed1116388064384542 | xUpdate Web Entry PHP 1 | 898822326536be3a12addb0034537553 | Upadte Webservice PHP Description 1 | 00000000000000000000000000000001 | WS |
| 8 | 1455892245368ebeb11c1a5001393784 | 4790702485368efad167477011123879 | xUpdate Web Entry PHP 2 @#$%&* | 318701641536be67467eb84048959982 | Upadte Webservice PHP Description 2 | 00000000000000000000000000000001 | WS |
| 9 | 1455892245368ebeb11c1a5001393784 | 2072984565368efc137a394001073529 | xWeb Entry PHP 3 | 923528807536be661d3d421038593630 | Webservice PHP Description 3 | 00000000000000000000000000000001 | WS |
Scenario Outline: Update Web Entry, when we_method is change a other method of the register 3 Scenario Outline: Update Web Entry, when we_method is change a other method of the register 3
@@ -294,7 +320,7 @@ Scenario Outline: Get a single Web Entry HTML of a Project
Scenario Outline: Delete a Web Entry of a Project Scenario Outline: Delete a Web Entry of a Project
Given that I want to delete a resource with the key "we_uid" stored in session array as variable "we_uid_<we_number>" Given that I want to delete a resource with the key "we_uid" stored in session array as variable "we_uid_<we_number>"
And I request "project/28733629952e66a362c4f63066393844/web-entry" And I request "project/<project>/web-entry"
And the content type is "application/json" And the content type is "application/json"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
@@ -302,22 +328,31 @@ Scenario Outline: Delete a Web Entry of a Project
Examples: Examples:
| we_number | | project | we_number |
| 1 | | 28733629952e66a362c4f63066393844 | 1 |
| 2 | | 28733629952e66a362c4f63066393844 | 2 |
| 3 | | 28733629952e66a362c4f63066393844 | 3 |
| 4 | | 28733629952e66a362c4f63066393844 | 4 |
| 5 | | 28733629952e66a362c4f63066393844 | 5 |
| 6 | | 28733629952e66a362c4f63066393844 | 6 |
| 1455892245368ebeb11c1a5001393784 | 7 |
| 1455892245368ebeb11c1a5001393784 | 8 |
| 1455892245368ebeb11c1a5001393784 | 9 |
Scenario: Get list Web Entries of a Project Scenario Outline: Get list Web Entries of a Project
And I request "project/28733629952e66a362c4f63066393844/web-entries" And I request "project/<project>/web-entries"
And the content type is "application/json" And the content type is "application/json"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "array" And the type is "array"
And the response has 0 records And the response has <records> records
Examples:
| Description | project | records |
| Get list web entry of process .pm | 28733629952e66a362c4f63066393844 | 0 |
| Get list web entry of process .pmx | 1455892245368ebeb11c1a5001393784 | 1 |
#WEB ENTRY - END #WEB ENTRY - END