Moficacion del path de los features input document, case scheduler, file manager y export, import project
This commit is contained in:
@@ -23,7 +23,7 @@ Scenario: Returns an uploaded documents for a given case
|
|||||||
|
|
||||||
|
|
||||||
Scenario: Post metadata and then upload documents for a given case
|
Scenario: Post metadata and then upload documents for a given case
|
||||||
Given POST upload an input document "/uploadfiles/test1.html" to "cases/170220159534214f642abb8058832933/input-document"
|
Given POST upload an input document "test1.html" to "cases/170220159534214f642abb8058832933/input-document"
|
||||||
"""
|
"""
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -33,11 +33,11 @@ Scenario Outline: Post metadata and then upload documents for a given case
|
|||||||
And store "app_doc_uid" in session array as variable "app_doc_uid_<app_doc_uid_number>"
|
And store "app_doc_uid" in session array as variable "app_doc_uid_<app_doc_uid_number>"
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| app_doc_uid_number | document_file | case_uid | inp_doc_uid | tas_uid | app_doc_comment |
|
| app_doc_uid_number | document_file | case_uid | inp_doc_uid | tas_uid | app_doc_comment |
|
||||||
| 1 | /uploadfiles/test1.html | 170220159534214f642abb8058832933 | 68671480353319e5e1dee74089764900 | 19582733053319e304cfa76025663570 | comment 1 |
|
| 1 | test1.html | 170220159534214f642abb8058832933 | 68671480353319e5e1dee74089764900 | 19582733053319e304cfa76025663570 | comment 1 |
|
||||||
| 2 | /uploadfiles/random.jpg | 170220159534214f642abb8058832933 | 68671480353319e5e1dee74089764900 | 19582733053319e304cfa76025663570 | comment 1 |
|
| 2 | random.jpg | 170220159534214f642abb8058832933 | 68671480353319e5e1dee74089764900 | 19582733053319e304cfa76025663570 | comment 1 |
|
||||||
| 3 | /uploadfiles/test.pm | 170220159534214f642abb8058832933 | 68671480353319e5e1dee74089764900 | 19582733053319e304cfa76025663570 | comment 1 |
|
| 3 | test.pm | 170220159534214f642abb8058832933 | 68671480353319e5e1dee74089764900 | 19582733053319e304cfa76025663570 | comment 1 |
|
||||||
| 4 | /uploadfiles/test.txt | 170220159534214f642abb8058832933 | 68671480353319e5e1dee74089764900 | 19582733053319e304cfa76025663570 | comment 1 |
|
| 4 | test.txt | 170220159534214f642abb8058832933 | 68671480353319e5e1dee74089764900 | 19582733053319e304cfa76025663570 | comment 1 |
|
||||||
|
|
||||||
Scenario Outline: Returns an uploaded documents for a given case
|
Scenario Outline: Returns an uploaded documents for a given case
|
||||||
Given I request "cases/<case_uid>/input-document/app_doc_uid" with the key "app_doc_uid" stored in session array as variable "app_doc_uid_<app_doc_uid_number>"
|
Given I request "cases/<case_uid>/input-document/app_doc_uid" with the key "app_doc_uid" stored in session array as variable "app_doc_uid_<app_doc_uid_number>"
|
||||||
|
|||||||
@@ -59,8 +59,9 @@ Scenario Outline: Create a 13 case scheduler for a project
|
|||||||
| Create with One time only | 12 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-One Time only 678%$@ | 4 | | | 20:00 | | | | | | |
|
| Create with One time only | 12 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-One Time only 678%$@ | 4 | | | 20:00 | | | | | | |
|
||||||
| Create with Every | 13 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 12.30 |
|
| Create with Every | 13 | admin | 46941969352af5be2ab3f39001216717 | Case Scheduler-Every 987&%@ | 5 | | | | | | | | | 12.30 |
|
||||||
| Create with Daily - Test BUG 15316 | 14 | admin | 46941969352af5be2ab3f39001216717 | Bug 15316 | 1 | 2014-01-30 | | 12:00 | | | | | | |
|
| Create with Daily - Test BUG 15316 | 14 | admin | 46941969352af5be2ab3f39001216717 | Bug 15316 | 1 | 2014-01-30 | | 12:00 | | | | | | |
|
||||||
| Test BUG 15330, 15331: Every format in the properties Invalid Start Timer | 15 | admin | 46941969352af5be2ab3f39001216717 | BUG 15330 | 5 | | | | | | | | | 1.00 |
|
| Test BUG 15330, 15331: Every format in the properties Invalid Start Timer 1.00 | 15 | admin | 46941969352af5be2ab3f39001216717 | BUG 15330 1.0 | 5 | | | | | | | | | 1.00 |
|
||||||
|
| Test BUG 15330, 15331: Every format in the properties Invalid Start Timer 01.00 | 16 | admin | 46941969352af5be2ab3f39001216717 | BUG 15330 01.00 | 5 | | | | | | | | | 01.00 |
|
||||||
|
|
||||||
|
|
||||||
Scenario: Create a new case scheduler with same name
|
Scenario: Create a new case scheduler with same name
|
||||||
Given POST this data:
|
Given POST this data:
|
||||||
@@ -83,7 +84,7 @@ Scenario: Create a new case scheduler with same name
|
|||||||
"""
|
"""
|
||||||
And I request "project/1265557095225ff5c688f46031700471/case-scheduler"
|
And I request "project/1265557095225ff5c688f46031700471/case-scheduler"
|
||||||
Then the response status code should be 400
|
Then the response status code should be 400
|
||||||
And the response status message should have the following text "duplicate"
|
And the response status message should have the following text "Duplicate"
|
||||||
|
|
||||||
|
|
||||||
Scenario: Get the case schedulers list when there are exactly 13 case schedulers
|
Scenario: Get the case schedulers list when there are exactly 13 case schedulers
|
||||||
@@ -92,7 +93,7 @@ Scenario: Get the case schedulers list when there are exactly 13 case schedulers
|
|||||||
And the response charset is "UTF-8"
|
And the response charset is "UTF-8"
|
||||||
And the content type is "application/json"
|
And the content type is "application/json"
|
||||||
And the type is "array"
|
And the type is "array"
|
||||||
And the response has 15 record
|
And the response has 16 record
|
||||||
|
|
||||||
|
|
||||||
Scenario Outline: Update the case schedulers for a project and then check if the values had changed
|
Scenario Outline: Update the case schedulers for a project and then check if the values had changed
|
||||||
@@ -186,6 +187,7 @@ Scenario Outline: Delete all case scheduler of a project created previously in t
|
|||||||
| 13 |
|
| 13 |
|
||||||
| 14 |
|
| 14 |
|
||||||
| 15 |
|
| 15 |
|
||||||
|
| 16 |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -50,11 +50,11 @@ Scenario Outline: Create files and subfolders
|
|||||||
And store "prf_uid" in session array as variable "prf_uid_<prf_number>"
|
And store "prf_uid" in session array as variable "prf_uid_<prf_number>"
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| test_description | prf_filename | prf_path | prf_content | http_code | type | prf_number |
|
| 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 public folder | file_test_1.txt | public/ | only text | 200 | object | 0 |
|
||||||
| into mailtemplates folder | file_test_2.html | templates/ | <h1>Test</h1><p>html test</p> | 200 | object | 1 |
|
| into mailtemplates folder | file_test_2.html | templates/ | <h1>Test</h1><p>html test</p> | 200 | object | 1 |
|
||||||
| into public subfolder | file_test_3 | public/public_subfolder | test | 200 | object | 2 |
|
| into 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 |
|
| into mailtemplates subfolder | file_test_4 | templates/templates_subfolder | test | 200 | object | 3 |
|
||||||
|
|
||||||
|
|
||||||
Scenario: Create files and subfolders with same name in path public
|
Scenario: Create files and subfolders with same name in path public
|
||||||
@@ -100,11 +100,11 @@ Scenario Outline: Update files by updating the content
|
|||||||
And the type is "<type>"
|
And the type is "<type>"
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| test_description | prf_filename | prf_content | http_code | type | prf_number |
|
| 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 public folder | file_test_1.txt | only text - modified | 200 | object | 0 |
|
||||||
| put into mailtemplates folder | file_test_2.html | <h1>Test</h1><p>html test</p><i>modified</i> | 200 | object | 1 |
|
| put into mailtemplates folder | file_test_2.html | <h1>Test</h1><p>html test</p><i>modified</i> | 200 | object | 1 |
|
||||||
| put into public subfolder | file_test_3 | put test | 200 | object | 2 |
|
| put into public subfolder | file_test_3 | put test | 200 | object | 2 |
|
||||||
| put into mailtemplates subfolder | file_test_4 | put test | 200 | object | 3 |
|
| put into mailtemplates subfolder | file_test_4 | put test | 200 | object | 3 |
|
||||||
|
|
||||||
|
|
||||||
Scenario Outline: Get a single Files Manager and check some properties
|
Scenario Outline: Get a single Files Manager and check some properties
|
||||||
@@ -119,11 +119,11 @@ Scenario Outline: Get a single Files Manager and check some properties
|
|||||||
And that "prf_content" is set to "<prf_content>"
|
And that "prf_content" is set to "<prf_content>"
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| test_description | prf_filename | prf_content | http_code | type | prf_number | row | prf_path |
|
| 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 public folder | file_test_1.txt | only text - modified | 200 | object | 0 | 1 | public/ |
|
||||||
| put into mailtemplates folder | file_test_2.html | <h1>Test</h1><p>html test</p><i>modified</i> | 200 | object | 1 | 1 | templates/ |
|
| put into mailtemplates folder | file_test_2.html | <h1>Test</h1><p>html test</p><i>modified</i> | 200 | object | 1 | 1 | templates/ |
|
||||||
| put into public subfolder | file_test_3 | put test | 200 | object | 2 | 0 | public/public_subfolder |
|
| put into 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 |
|
| put into mailtemplates subfolder | file_test_4 | put test | 200 | object | 3 | 0 | templates/templates_subfolder |
|
||||||
|
|
||||||
|
|
||||||
Scenario Outline: Upload files to same folders
|
Scenario Outline: Upload files to same folders
|
||||||
@@ -131,11 +131,11 @@ Scenario Outline: Upload files to same folders
|
|||||||
And store "prf_uid" in session array as variable "prf_uid_<prf_number>"
|
And store "prf_uid" in session array as variable "prf_uid_<prf_number>"
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| file | prf_path | prf_number |
|
| file | prf_path | prf_number |
|
||||||
| /uploadfiles/test1.html | templates | 4 |
|
| test1.html | templates | 4 |
|
||||||
| /uploadfiles/test2.html | templates | 5 |
|
| test2.html | templates | 5 |
|
||||||
| /uploadfiles/test.txt | public | 6 |
|
| test.txt | public | 6 |
|
||||||
| /uploadfiles/TestQA.html| templates | 7 |
|
| TestQA.html| templates | 7 |
|
||||||
|
|
||||||
|
|
||||||
Scenario Outline: Verify if TestQA was overwrited
|
Scenario Outline: Verify if TestQA was overwrited
|
||||||
@@ -223,5 +223,5 @@ Scenario Outline: Upload files to same folders "Project - Process Complete BPMN"
|
|||||||
And the response status message should have the following text "incorrect extension"
|
And the response status message should have the following text "incorrect extension"
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| file | prf_path | prf_number |
|
| file | prf_path | prf_number |
|
||||||
| /uploadfiles/SnagIt823.exe | templates | 1 |
|
| SnagIt823.exe | templates | 1 |
|
||||||
@@ -137,7 +137,7 @@ Scenario: Get for Export Project
|
|||||||
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 content type is "application/xml"
|
And the content type is "application/xml"
|
||||||
And save exported process to "/uploadfiles/" as "Process_Complete_BPMN"
|
And save exported process to "/" as "Process_Complete_BPMN"
|
||||||
|
|
||||||
|
|
||||||
Scenario: Delete a Project created previously in this script
|
Scenario: Delete a Project created previously in this script
|
||||||
@@ -160,12 +160,12 @@ Scenario Outline: Import a process
|
|||||||
|
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| project_file | import_option | prj_uid_number |
|
| project_file | import_option | prj_uid_number |
|
||||||
| /uploadfiles/Process_NewCreate_BPMN.pmx | create | 1 |
|
| Process_NewCreate_BPMN.pmx | create | 1 |
|
||||||
| /uploadfiles/Process_Complete_BPMN.pmx | create | 2 |
|
| Process_Complete_BPMN.pmx | create | 2 |
|
||||||
| /uploadfiles/Process_Complete_BPMN.pmx | overwrite | 3 |
|
| Process_Complete_BPMN.pmx | overwrite | 3 |
|
||||||
| /uploadfiles/Process_Complete_BPMN.pmx | disable | 4 |
|
| Process_Complete_BPMN.pmx | disable | 4 |
|
||||||
| /uploadfiles/Process_Complete_BPMN.pmx | keep | 5 |
|
| Process_Complete_BPMN.pmx | keep | 5 |
|
||||||
|
|
||||||
|
|
||||||
#Verificar cantidad de dynaform, output, inputs, triggers, asignacion de usuarios, etc.
|
#Verificar cantidad de dynaform, output, inputs, triggers, asignacion de usuarios, etc.
|
||||||
@@ -413,8 +413,8 @@ Scenario Outline: Import a process
|
|||||||
And the type is "object"
|
And the type is "object"
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| project_file | import_option |
|
| project_file | import_option |
|
||||||
| /uploadfiles/Process_Complete_BPMN.pmx | create |
|
| Process_Complete_BPMN.pmx | create |
|
||||||
|
|
||||||
|
|
||||||
#For example, to export a empty process
|
#For example, to export a empty process
|
||||||
@@ -424,7 +424,7 @@ Scenario: Get for Export Project "Export process empty"
|
|||||||
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 content type is "application/xml"
|
And the content type is "application/xml"
|
||||||
And save exported process to "/uploadfiles/" as "Export process empty"
|
And save exported process to "/" as "Export process empty"
|
||||||
|
|
||||||
Scenario: Delete a Project created previously in this script "Export process empty"
|
Scenario: Delete a Project created previously in this script "Export process empty"
|
||||||
Given that I want to delete a resource with the key "prj_uid" stored in session array
|
Given that I want to delete a resource with the key "prj_uid" stored in session array
|
||||||
@@ -435,7 +435,7 @@ Scenario: Delete a Project created previously in this script "Export process emp
|
|||||||
And the type is "object"
|
And the type is "object"
|
||||||
|
|
||||||
Scenario: Import a process "Export process empty"
|
Scenario: Import a process "Export process empty"
|
||||||
Given POST upload a project file "/uploadfiles/Export_process_empty.pmx" to "project/import?option=create"
|
Given POST upload a project file "Export_process_empty.pmx" to "project/import?option=create"
|
||||||
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"
|
||||||
And the content type is "application/json"
|
And the content type is "application/json"
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ Scenario Outline: Import a process negative tests
|
|||||||
|
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| Description | project_file | import_option | error_code | error_message |
|
| Description | project_file | import_option | error_code | error_message |
|
||||||
| Import process when the process alredy exists | /uploadfiles/Process_Complete_BPMN.pmx | create | 400 | already exists |
|
| Import process when the process alredy exists | Process_Complete_BPMN.pmx | create | 400 | already exists |
|
||||||
|
|
||||||
|
|
||||||
Scenario Outline: Import a process with wrong "option"
|
Scenario Outline: Import a process with wrong "option"
|
||||||
@@ -22,6 +22,6 @@ Scenario Outline: Import a process with wrong "option"
|
|||||||
|
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
| Description | project_file | option | option_group | error_message |
|
| Description | project_file | option | option_group | error_message |
|
||||||
| Invalid option | /uploadfiles/Process_NewCreate_BPMN.pmx | sample | merge | option |
|
| Invalid option | Process_NewCreate_BPMN.pmx | sample | merge | option |
|
||||||
| Invalid option_group | /uploadfiles/Process_Complete_BPMN.pmx | create | sample | option_group |
|
| Invalid option_group | Process_Complete_BPMN.pmx | create | sample | option_group |
|
||||||
Reference in New Issue
Block a user