Arreglos de UID del feature process supervisor ordenamiento

This commit is contained in:
Wendy Nestor
2014-04-17 12:37:36 -04:00
parent b891ccc1ce
commit 58bcd323e4

View File

@@ -41,15 +41,15 @@ Requirements:
Scenario Outline: Obtain the position of the steps after changing position Scenario Outline: Obtain the position of the steps after changing position
Given I request "project/857888611534814982bc651033834642/process-supervisor/7976552835322023005e069088446535/step/<step_uid>" Given I request "project/857888611534814982bc651033834642/process-supervisor/dynaform/<step_uid>"
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 type is "object" And the type is "object"
And that "step_position" is set to "<step_position>" And that "pud_position" is set to "<pud_position>"
Examples: Examples:
| test_description | step_uid | step_position | | test_description | step_uid | pud_position |
| Position-dynaform1 | 674032139534bd91f9331a5032066933 | 2 | | Position-dynaform1 | 674032139534bd91f9331a5032066933 | 2 |
| Position-dynaform2 | 583050735534bd923984f24007464958 | 3 | | Position-dynaform2 | 583050735534bd923984f24007464958 | 3 |
| Position-dynaform3 | 114660532534bd926817991070085867 | 1 | | Position-dynaform3 | 114660532534bd926817991070085867 | 1 |
@@ -78,20 +78,19 @@ Requirements:
Scenario Outline: Obtain the position of the steps after add new dynaform Scenario Outline: Obtain the position of the steps after add new dynaform
Given I request "project/857888611534814982bc651033834642/activity/7976552835322023005e069088446535/step/<step_uid>" Given I request "project/857888611534814982bc651033834642/process-supervisor/dynaform/<step_uid>"
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 type is "object" And the type is "object"
And that "step_position" is set to "<step_position>" And that "pud_position" is set to "<pud_position>"
Examples: Examples:
| test_description | step_uid | step_position | | test_description | step_uid | pud_position |
| Position-dynaform1 | 8257746325322026c0e45e3047837732 | 2 | | Position-dynaform1 | 674032139534bd91f9331a5032066933 | 2 |
| Position-dynaform2 | 30547852753220293960227013371359 | 3 | | Position-dynaform2 | 583050735534bd923984f24007464958 | 3 |
| Position-dynaform3 | 840380819532202d132fb91020992676 | 1 | | Position-dynaform3 | 114660532534bd926817991070085867 | 1 |
| Position-dynaform4 | 663853222532202eec8a913042063689 | 4 | | Position-dynaform4 | 105517492534bd929a58c15055718131 | 4 |
| Position-dynaform5 | 925775829534bdee3ef85a0017515754 | 5 |
Scenario Outline: Delete an dynaform5 to a process supervisor Scenario Outline: Delete an dynaform5 to a process supervisor
@@ -103,22 +102,20 @@ Requirements:
Examples: Examples:
| test_description | project | pud_number | | 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 Scenario Outline: Obtain the position of the dynaforms after changing position
Given I request "project/857888611534814982bc651033834642/activity/7976552835322023005e069088446535/step/<step_uid>" Given I request "project/857888611534814982bc651033834642/process-supervisor/dynaform/<step_uid>"
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 type is "object" And the type is "object"
And that "step_position" is set to "<step_position>" And that "pud_position" is set to "<pud_position>"
Examples: Examples:
| test_description | step_uid | step_position | | test_description | step_uid | pud_position |
| Position-dynaform1 | 674032139534bd91f9331a5032066933 | 1 | | Position-dynaform1 | 674032139534bd91f9331a5032066933 | 1 |
| Position-dynaform2 | 583050735534bd923984f24007464958 | 2 | | Position-dynaform2 | 583050735534bd923984f24007464958 | 2 |
| Position-dynaform3 | 114660532534bd926817991070085867 | 3 | | 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 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "array" And the type is "array"
And that "pui_position" is set to "<pui_position>" And that "pud_position" is set to "<pud_position>"
Examples: Examples:
@@ -149,7 +146,7 @@ Scenario Outline: obtain the position of Input Documents in process supervisor
"pud_position": "1" "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 Then the response status code should be 200
@@ -157,8 +154,8 @@ Scenario Outline: obtain the position of Input Documents in process supervisor
Given I request "project/857888611534814982bc651033834642/process-supervisors" Given I request "project/857888611534814982bc651033834642/process-supervisors"
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 type is "object" And the type is "array"
And that "pui_position" is set to "<pui_position>" And that "pud_position" is set to "<pud_position>"
Examples: Examples:
@@ -168,30 +165,14 @@ Scenario Outline: obtain the position of Input Documents in process supervisor
| Position-Input3 | 392695739534bdfe1542bb4007328326 | 1 | | Position-Input3 | 392695739534bdfe1542bb4007328326 | 1 |
Scenario Outline: obtain the position of Input Documents in process supervisor Scenario: Change order the Input document of "Input3" by position one
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 "<pui_position>"
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
Given PUT this data: Given PUT this data:
""" """
{ {
"pud_position": "3" "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 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" Given I request "project/857888611534814982bc651033834642/process-supervisors"
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 type is "object" And the type is "array"
And that "pui_position" is set to "<pui_position>" And that "pud_position" is set to "<pud_position>"
Examples: Examples: