arreglos en file manager y step

This commit is contained in:
Wendy Nestor
2014-03-06 09:48:06 -04:00
committed by user
parent c09883afab
commit f6c0e36a81
2 changed files with 7 additions and 7 deletions

View File

@@ -8,13 +8,13 @@ Feature: File Manager Negative Tests
Scenario: Get a list public folder of process files manager with bad parameters (negative tests)
Given I request "project/1265557095225ff5c688f46031700471/file-manager?path=sample"
Then the response status code should be 400
And the response status message should have the following text "<path>"
And the response status message should have the following text "path"
Scenario: Get a list templates folder of process files manager with bad parameters (negative tests)
Given I request "project/1265557095225ff5c688f46031700471/file-manager?path=sample"
Then the response status code should be 200
And the response status message should have the following text "<path>"
Then the response status code should be 400
And the response status message should have the following text "path"
Scenario Outline: Create files and subfolders for a project with bad parameters (negative tests)
@@ -34,9 +34,9 @@ Feature: File Manager Negative Tests
| test_description | project | prf_filename | prf_path | prf_content | error_code | error_message |
| Invalid path public | 1265557095225ff5c688f46031700471 | file_test_1.txt | file_input_public/ | only text | 400 | prf_path |
| Invalid path template | 1265557095225ff5c688f46031700471 | file_test_2.html | temptes_manager/ | <h1>Test</h1><p>html test</p> | 400 | prf_path |
| Field Required prf_filename in public | 1265557095225ff5c688f46031700471 | | public/ | only text | 200 | prf_filename |
| Field Required prf_filename in template | 1265557095225ff5c688f46031700471 | | templates/ | <h1>Test</h1><p>html test</p> | 200 | prf_filename |
| Field Required project | | file_test_1.txt | public/ | only text | 200 | prj_uid |
| Field Required prf_filename in public | 1265557095225ff5c688f46031700471 | | public/ | only text | 400 | prf_filename |
| Field Required prf_filename in template | 1265557095225ff5c688f46031700471 | | templates/ | <h1>Test</h1><p>html test</p> | 400 | prf_filename |
| Field Required project | | file_test_1.txt | public/ | only text | 400 | prj_uid |

View File

@@ -39,7 +39,7 @@ Feature: Project Properties - Step Resources Main Tests
And the content type is "application/json"
Then the response status code should be 201
And the response charset is "UTF-8"
And the type is "object"
And the type is "object"git
And store "step_uid" in session array as variable "step_uid_<step_number>"
Examples: