Arreglos en los features file manager y process permissions

This commit is contained in:
Wendy Nestor
2014-06-26 10:18:17 -04:00
parent d34273d72b
commit f884c82c30
2 changed files with 218 additions and 207 deletions

View File

@@ -138,8 +138,6 @@ Feature: Files Manager Resources Main Tests
|/home/wendy/uploadfiles/TestQA.html| templates | 7 |
Scenario Outline: Verify if TestQA was overwrited
Given that I want to get a resource with the key "prf_uid" stored in session array as variable "prf_uid_<prf_number>"
Given I request "project/1265557095225ff5c688f46031700471/file-manager"
@@ -155,7 +153,6 @@ Feature: Files Manager Resources Main Tests
| TestQA.html | Test QA - cuando se realiza la sobreescritura desde upload | 7 |
Scenario Outline: Update the overwritten file to return to their original values
Given PUT this data:
"""
@@ -192,7 +189,6 @@ Feature: Files Manager Resources Main Tests
Scenario Outline: Delete file
Given that I want to delete a resource with the key "prf_uid" stored in session array as variable "prf_uid_<prf_number>"
And I request "project/1265557095225ff5c688f46031700471/file-manager"
Then the response status code should be 200
And the response charset is "UTF-8"
@@ -217,3 +213,15 @@ Feature: Files Manager Resources Main Tests
| test_description | prf_path |
| delete public sub folder | templates/templates_subfolder |
| delete templates sub folder | public/public_subfolder |
#BUG 15207, The "Upload" accepts files with other extensions
#
#Scenario Outline: Upload files to same folders "Project - Process Complete BPMN"
# Given POST I want to upload the file "<file>" to path "<prf_path>". Url "project/1455892245368ebeb11c1a5001393784/file-manager"
# And store "prf_uid" in session array as variable "prf_uid_<prf_number>"
# And the response status message should have the following text "incorrect extension"
#
# Examples:
# | file | prf_path | prf_number |
# |/home/wendy/uploadfiles/SnagIt823.exe | templates | 1 |

View File

@@ -276,12 +276,14 @@ Scenario Outline: Create a new Process permission in proyect "Process Complete B
| op_number | op_case_status | tas_uid | op_user_relation| usr_uid | op_task_source | op_participate | op_obj_type | dynaforms | inputs | outputs | op_action |
| 1 | COMPLETED | | 1 | 00000000000000000000000000000001 | | 0 | MSGS_HISTORY | | | | RESEND |
| 2 | COMPLETED | | 1 | 00000000000000000000000000000001 | | 0 | MSGS_HISTORY | | | | RESEND |
Scenario: Get a List of current Process Permissions of a project
Given I request "project/1455892245368ebeb11c1a5001393784/process-permissions"
Then the response status code should be 200
And the response charset is "UTF-8"
And the response has 2 record
And the response has 3 record
Scenario Outline: Delete all Process Supervisor created previously in this script
Given that I want to delete a resource with the key "op_uid" stored in session array as variable "op_uid_<op_number>"
@@ -295,6 +297,7 @@ Scenario Outline: Delete all Process Supervisor created previously in this scrip
| op_number |
| 1 |
| 2 |
Scenario: Get a List of current Process Permissions of a project
Given I request "project/1455892245368ebeb11c1a5001393784/process-permissions"