Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use caseAutomation statusTest Rail integration statusStatusComments


Code Block
languagegroovy
themeMidnight
titleScenario 1 : Editing location and increase quantity at the same time for Open order
collapsetrue
Scenario 1: 
Given Create a POL for P/E mix
And Set 2 Physical with "createInventory": "Instance, Holding, Item"
And Set 2 Electronic with "createInventory": "Instance, Holding, Item" 
And Set one location "Location 1"
And Save and open PO
And Edit POL and change location on "Location 2" and increase Electronic quantity from 2 to 3
When Save and close POL
Then
Actual : 4 old pieces still there and 5 new pieces created with "Location 2"
		 4 old items still there and 5 new items created with "Location 2"
Expected : 3 Pieces for Electronic and 2 for Physical with "Location 2"
		   3 Items for Electronic and 2 for Physical with "Location 2"


Status
colourRed
titleNo

Status
colourRed
titleNo

Status
colourRed
titleFailed



Code Block
languagegroovy
themeMidnight
titleScenario 2 : Editing location and increase quantity at the same time for Open order
collapsetrue
Scenario 2: 
Given Create a POL for P/E mix
And Set 1 Physical with "createInventory": "Instance, Holding, Item"
And Set 1 Electronic with "createInventory": "Instance, Holding" 
And Set one location "Location 1"
And Save and open PO
And Edit POL and change location on "Location 2" and increase Electronic quantity from 1 to 2
When Save and close POL
Then
Actual : 2 old pieces still there and 3 new pieces created with "Location 2"
         1 old items still there and 1 new Physical items created with "Location 2"
Expected : 2 Pieces for Electronic and 1 for Physical with "Location 2"
           1 Old Items for Physical with "Location 1" still there


Status
colourRed
titleNo

Status
colourRed
titleNo

Status
colourRed
titleFailed



Code Block
languagegroovy
themeMidnight
titleScenario 3 : Editing location and increase quantity at the same time for Open order
collapsetrue
Scenario 3: 
Given Create a POL for P/E mix
And Set 1 Physical with "createInventory": "Instance, Holding, Item"
And Set 1 Electronic with "createInventory": "Instance, Holding" 
And Set one location "Location 1"
And Save and open PO
And Receive 1 Physical piece
And Edit POL and change location on "Location 2" and increase Physical quantity from 1 to 2
When Save and close POL
Then
Actual : 2 old pieces still there with "Location 1" and 3 new pieces created with "Location 2"
         1 old items still there with "Location 1" and 1 new Physical items created with "Location 2"
Expected : 1 Received Pieces for Physical with "Location 1" and 1 Expected for Physical with "Location 2"
         1 Expected Pieces for Electronic with "Location 1"
         1 Item for Physical with "Location 1" and 1 Item for Physical with "Location 2" 


Status
colourRed
titleNo

Status
colourRed
titleNo

Status
colourRed
titleFailed



Code Block
languagegroovy
themeMidnight
titleScenario 4 : Editing all location and

...

receive piece for Open order
collapsetrue
Scenario 

...

3: 
Given Create a POL for P/E mix
And

...

 Add first location "Location 1" with 1 Physical and 1  Electronic
And Add second location "Location 2" with 1 Physical and 1 Electronic
And Set Physical with "createInventory": "Instance, Holding, Item" 
And Set

...

 Electronic with "createInventory": "Instance, Holding, Item"
And 

...

Save and 

...

open 

...

PO

...

And 

...

Receive 1

...

 

...

Physical 

...

piece 

...

with 

...

"Location 

...

1"
And Edit POL and change 

...

"Location 1" to "Location 

...

3"
And 

...

Edit 

...

POL 

...

and 

...

change 

...

"Location 2" to 

...

"Location 4"
When Save and close POL
Then
Actual : 

...

1 old 

...

"Received" piece still there 

...

with "Location 

...

1" 
	

...

 

...

 

...

 

...

 

...

 

...

1 

...

old 

...

"Expected" 

...

piece 

...

with "Location 

...

4"

...

 

...

 

...

 

...

 

...

 

...

 

...

 

...

 

...

 

...

2 

...

old "

...

Expected" pieces with "Location 

...

3"

...

Expected 

...

:

...

 1 

...

old 

...

"

...

Received"

...

 

...

piece still there with "Location 1"

...

	 

...

 

...

 

...

 

...

 

...

 

...

 

...

1 

...

old 

...

"Expected" 

...

piece 

...

with "Location 

...

3" 

...


...

 

...

 

...

 

...

 

...

 

...

 

...

 

...

 

...

 

...

 

...

 2 old 

...

"Expected" pieces with "Location 

...

4"


Status
colourRed
titleNo

Status
colourRed
titleNo

Status
colourRed
titleFailed

Dennis Bridges There is no way programmatically understand which Pieces with which locations to update. 


Code Block
languagegroovy
themeMidnight
titleScenario 5 : Returning a piece with Location with different from order line Location
collapsetrue
Scenario 3: 
Given Create a POL for P/E mix
And Add first location "Location 1" with 1 Physical and 1  Electronic
And Add second location "Location 2" 

...

with 

...

1 

...

Physical 

...

and 

...

1

...

 Electronic
And Set 

...

Physical with "createInventory": "Instance, Holding, Item" 
And Set

...

 Electronic with "createInventory": "Instance, Holding

...

, Item"
And Save and open PO
And Receive 1 Physical piece 

...

with "Location 

...

5"

...

And 

...

Edit POL and change "Location 1" 

...

to "Location 

...

3"

...

And 

...

Edit POL and 

...

change "Location 2" 

...

to "Location 

...

4"

...

When 

...

Save 

...

and 

...

close 

...

POL

...

Then

...

Actual 

...

: 

...

Not tested
Expected 

...

: 

...

Not 

...

clear 

...

what 

...

we 

...

should do





Dennis Bridges Not clear what we should do in that case