From 58bcd323e42c7bf1b3fb9af446a86fd7396c57dd Mon Sep 17 00:00:00 2001 From: Wendy Nestor Date: Thu, 17 Apr 2014 12:37:36 -0400 Subject: [PATCH] Arreglos de UID del feature process supervisor ordenamiento --- ...main_tests_supervisor_ordenamiento.feature | 67 +++++++------------ 1 file changed, 24 insertions(+), 43 deletions(-) diff --git a/features/backend/projects/process_supervisor/main_tests_supervisor_ordenamiento.feature b/features/backend/projects/process_supervisor/main_tests_supervisor_ordenamiento.feature index f457d74d3..4413de8b1 100644 --- a/features/backend/projects/process_supervisor/main_tests_supervisor_ordenamiento.feature +++ b/features/backend/projects/process_supervisor/main_tests_supervisor_ordenamiento.feature @@ -41,15 +41,15 @@ Requirements: Scenario Outline: Obtain the position of the steps after changing position - Given I request "project/857888611534814982bc651033834642/process-supervisor/7976552835322023005e069088446535/step/" + Given I request "project/857888611534814982bc651033834642/process-supervisor/dynaform/" Then the response status code should be 200 And the response charset is "UTF-8" And the type is "object" - And that "step_position" is set to "" + And that "pud_position" is set to "" Examples: - | test_description | step_uid | step_position | + | test_description | step_uid | pud_position | | Position-dynaform1 | 674032139534bd91f9331a5032066933 | 2 | | Position-dynaform2 | 583050735534bd923984f24007464958 | 3 | | Position-dynaform3 | 114660532534bd926817991070085867 | 1 | @@ -78,21 +78,20 @@ Requirements: Scenario Outline: Obtain the position of the steps after add new dynaform - Given I request "project/857888611534814982bc651033834642/activity/7976552835322023005e069088446535/step/" + Given I request "project/857888611534814982bc651033834642/process-supervisor/dynaform/" Then the response status code should be 200 And the response charset is "UTF-8" And the type is "object" - And that "step_position" is set to "" + And that "pud_position" is set to "" Examples: - | test_description | step_uid | step_position | - | Position-dynaform1 | 8257746325322026c0e45e3047837732 | 2 | - | Position-dynaform2 | 30547852753220293960227013371359 | 3 | - | Position-dynaform3 | 840380819532202d132fb91020992676 | 1 | - | Position-dynaform4 | 663853222532202eec8a913042063689 | 4 | - | Position-dynaform5 | 925775829534bdee3ef85a0017515754 | 5 | - + | test_description | step_uid | pud_position | + | Position-dynaform1 | 674032139534bd91f9331a5032066933 | 2 | + | Position-dynaform2 | 583050735534bd923984f24007464958 | 3 | + | Position-dynaform3 | 114660532534bd926817991070085867 | 1 | + | Position-dynaform4 | 105517492534bd929a58c15055718131 | 4 | + Scenario Outline: Delete an dynaform5 to a process supervisor Given that I want to delete a resource with the key "pui_uid" stored in session array as variable "pud_uid_" @@ -103,22 +102,20 @@ Requirements: Examples: | test_description | project | pud_number | - | Delete dynaform5 for Supervisor | 925775829534bdee3ef85a0017515754 | 1 | - - + | Delete dynaform5 for Supervisor | 856447360534bdeab3c4a72086906269 | 1 | Scenario Outline: Obtain the position of the dynaforms after changing position - Given I request "project/857888611534814982bc651033834642/activity/7976552835322023005e069088446535/step/" + Given I request "project/857888611534814982bc651033834642/process-supervisor/dynaform/" Then the response status code should be 200 And the response charset is "UTF-8" And the type is "object" - And that "step_position" is set to "" + And that "pud_position" is set to "" Examples: - | test_description | step_uid | step_position | + | test_description | step_uid | pud_position | | Position-dynaform1 | 674032139534bd91f9331a5032066933 | 1 | | Position-dynaform2 | 583050735534bd923984f24007464958 | 2 | | Position-dynaform3 | 114660532534bd926817991070085867 | 3 | @@ -131,7 +128,7 @@ Scenario Outline: obtain the position of Input Documents in process supervisor Then the response status code should be 200 And the response charset is "UTF-8" And the type is "array" - And that "pui_position" is set to "" + And that "pud_position" is set to "" Examples: @@ -149,16 +146,16 @@ Scenario Outline: obtain the position of Input Documents in process supervisor "pud_position": "1" } """ - And I request "project/857888611534814982bc651033834642/activity/7976552835322023005e069088446535/step/392695739534bdfe1542bb4007328326" + And I request "project/857888611534814982bc651033834642/process-supervisor/input-document/519852825534bdf430c81e5083980052" Then the response status code should be 200 - + Scenario Outline: Obtain the position of the steps after changing position Given I request "project/857888611534814982bc651033834642/process-supervisors" Then the response status code should be 200 And the response charset is "UTF-8" - And the type is "object" - And that "pui_position" is set to "" + And the type is "array" + And that "pud_position" is set to "" Examples: @@ -168,30 +165,14 @@ Scenario Outline: obtain the position of Input Documents in process supervisor | Position-Input3 | 392695739534bdfe1542bb4007328326 | 1 | -Scenario Outline: obtain the position of Input Documents in process supervisor - Given I request "project/857888611534814982bc651033834642/process-supervisors" - Then the response status code should be 200 - And the response charset is "UTF-8" - And the type is "object" - And that "pui_position" is set to "" - - Examples: - - | test_description | step_uid | pud_position | - | Position-Input1 | 152101193534bdfdb530c96029300152 | 1 | - | Position-Input2 | 370888112534bdfde887e79055241597 | 2 | - | Position-Input3 | 392695739534bdfe1542bb4007328326 | 3 | - - - - Scenario: Change order the Input document of "Input3" by position three + Scenario: Change order the Input document of "Input3" by position one Given PUT this data: """ { "pud_position": "3" } """ - And I request "project/857888611534814982bc651033834642/activity/7976552835322023005e069088446535/step/392695739534bdfe1542bb4007328326" + And I request "project/857888611534814982bc651033834642/process-supervisor/input-document/519852825534bdf430c81e5083980052" Then the response status code should be 200 @@ -199,8 +180,8 @@ Scenario Outline: obtain the position of Input Documents in process supervisor Given I request "project/857888611534814982bc651033834642/process-supervisors" Then the response status code should be 200 And the response charset is "UTF-8" - And the type is "object" - And that "pui_position" is set to "" + And the type is "array" + And that "pud_position" is set to "" Examples: