| Use case | Automation status | Test Rail integration status | Status | Comments |
---|
1 |
Code Block |
---|
language | groovy |
---|
theme | Midnight |
---|
title | Scenario 1 : Editing location and increase quantity at the same time for Open order |
---|
collapse | true |
---|
| 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" |
| | | |
|
2 |
Code Block |
---|
language | groovy |
---|
theme | Midnight |
---|
title | Scenario 2 : Editing location and increase quantity at the same time for Open order |
---|
collapse | true |
---|
| 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 |
| | | |
|
3 |
Code Block |
---|
language | groovy |
---|
theme | Midnight |
---|
title | Scenario 3 : Editing location and increase quantity at the same time for Open order |
---|
collapse | true |
---|
| 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" |
| | | |
|
4 |
Code Block |
---|
language | groovy |
---|
theme | Midnight |
---|
title | Scenario 4 : Editing all location and receive piece for Open order |
---|
collapse | true |
---|
| 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" |
| | | | Dennis Bridges There is no way programmatically understand which Pieces with which locations to update. |
5 |
Code Block |
---|
language | groovy |
---|
theme | Midnight |
---|
title | Scenario 5 : Returning a piece with Location which different from order line Location |
---|
collapse | true |
---|
| 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 |
| | | Status |
---|
colour | Yellow |
---|
title | Not Tested |
---|
|
| Dennis Bridges Not clear what we should do in that case |
6 |
Code Block |
---|
language | groovy |
---|
theme | Midnight |
---|
title | Scenario 5 : Returning a piece with Location which different from order line Location |
---|
collapse | true |
---|
| 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 Change location in piece from "Location 1" to "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 |
| | | Status |
---|
colour | Yellow |
---|
title | Not Tested |
---|
|
| Dennis Bridges Not clear what we should do in that case. Can we delete all existing pieces including in which location changed. If we choose updating strategy, then not clear : How to understand from the code in which pieces update locations. |