diff --git a/features/backend/files_manager/negative_tests_files_manager.feature b/features/backend/files_manager/negative_tests_files_manager.feature index a90a00666..0bd692c19 100644 --- a/features/backend/files_manager/negative_tests_files_manager.feature +++ b/features/backend/files_manager/negative_tests_files_manager.feature @@ -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 "" + 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 "" + 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/ |

Test

html test

| 400 | prf_path | - | Field Required prf_filename in public | 1265557095225ff5c688f46031700471 | | public/ | only text | 200 | prf_filename | - | Field Required prf_filename in template | 1265557095225ff5c688f46031700471 | | templates/ |

Test

html test

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

Test

html test

| 400 | prf_filename | + | Field Required project | | file_test_1.txt | public/ | only text | 400 | prj_uid | diff --git a/features/backend/step/main_tests_step.feature b/features/backend/step/main_tests_step.feature index 48ce32bc4..4f1e6c657 100644 --- a/features/backend/step/main_tests_step.feature +++ b/features/backend/step/main_tests_step.feature @@ -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_" Examples: