Skip to content

Commit dd2bcbd

Browse files
Merge pull request #1 from rapyuta-robotics/test/picking
Tests: Internal order bin picking test cases
2 parents 9174074 + 31d60f7 commit dd2bcbd

17 files changed

+564
-8
lines changed

test_cases/_shared_steps/step_001_login_ht_with_username_and_password.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
## Steps
66
1. [Open HT](http://localhost:3002)
77
2. Click on login with email button
8-
3. Enter @username
9-
4. Enter @password
8+
3. Enter @ht_username
9+
4. Enter @ht_password
1010
5. Click Login button
1111

1212
## Expected Result
13-
1. -
13+
1. `-`
1414
2. Login popup opens
15-
3. -
16-
4. -
15+
3. `-`
16+
4. `-`
1717
5. Screen gets redirected to HT main page
1818

1919
## Parameter (Default values)
2020

21-
| username | password |
22-
|--------------------|--------------|
23-
| test_picker | password |
21+
| ht_username | ht_password |
22+
|--------------------|-----------------|
23+
| test_picker | password |
2424

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Shared Step 002
2+
3+
**Title:** Upload item master, containers, inventory and orders
4+
5+
## Steps
6+
1. Upload `@item_master_csv`
7+
2. Upload `@containers_csv`
8+
3. Upload `@inventory_csv`
9+
3. Upload `@orders_csv`
10+
11+
## Expected Result
12+
1. Upload status of `@item_master_csv` should be `Completed` and there should be **no errors**
13+
2. Upload status of `@containers_csv` should be `Completed` and there should be **no errors**
14+
3. Upload status of `@inventory_csv` should be `Completed` and there should be **no errors**
15+
4. Upload status of `@orders_csv` should be `Completed` and there should be **no errors**
16+
17+
## Parameter (Default values)
18+
19+
| item_master_csv | containers_csv | inventory_csv | orders_csv |
20+
|-----------------|-----------------|-----------------|-----------------|
21+
| - | - | - | - |
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Shared Step 003
2+
3+
**Title:** Login to SystemUI
4+
5+
## Steps
6+
1. [Navigate to SystemUI](https://localhost/system-ui)
7+
2. Enter `@sui_username`
8+
3. Enter `@sui_password`
9+
3. Click `Login`
10+
11+
## Expected Result
12+
1. Login screen appears
13+
2. `-`
14+
3. `-`
15+
4. Screen gets redirected to main page
16+
17+
## Parameter (Default values)
18+
19+
| sui_username | sui_password |
20+
|-----------------|------------------|
21+
| test_picker | password |
22+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Shared Step 004
2+
3+
**Title:** Reserve batch
4+
5+
## Steps
6+
1. Open `Warehouse management` screen in SystemUI
7+
2. Click `Outbound`
8+
3. Under `WMS` and `Order batches` tab, search for `@order_batch`
9+
4. Click on the checkbox on the left most column corresponding to `@order_batch`
10+
5. Click `Reserve` button
11+
12+
## Expected Result
13+
1. Screen gets redirected to `Warehouse management` page
14+
2. `Outbound` tab should get selected
15+
3. `@order_batch` should be visible in the table
16+
4. `Reserve` button should be enabled
17+
5. Order should become `@reservation_expected_status` and a notification indicating the request status should be displayed
18+
19+
## Parameter (Default values)
20+
21+
| order_batch | reservation_expected_status |
22+
|--------------|---------------------------------|
23+
| - | Assignable |
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Shared Step 005
2+
3+
**Title:** Allocate batch
4+
5+
## Steps
6+
1. Open `Warehouse management` screen in SystemUI
7+
2. Click `Outbound`
8+
3. Under `WMS` and `Order batches` tab, search for `@order_batch`
9+
4. Click on the checkbox on the left most column corresponding to `@order_batch`
10+
5. Click `Allocate` button
11+
12+
## Expected Result
13+
1. Screen gets redirected to `Warehouse management` page
14+
2. `Outbound` tab should get selected
15+
3. `@order_batch` should be visible in the table
16+
4. `Allocate` button should be enabled
17+
5. Order should become `@expected_status` and a notification indicating the allocation request status should be displayed
18+
19+
## Parameter (Default values)
20+
21+
| order_batch | allocation_expected_status |
22+
|--------------|--------------------------------|
23+
| - | Assigned |
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Shared Step 006
2+
3+
**Title:** Initiate batch picking
4+
5+
## Steps
6+
1. [Open HT](http://localhost:3002)
7+
2. Click `ASRS`
8+
3. Scan `@pick_station_barcode`
9+
4. In the list of options, Select `Picking`
10+
5. Find `@order_batch` and click on it
11+
6. Initiate pick
12+
13+
## Expected Result
14+
1. Screen redirects to HT home page
15+
2. HT requests for scanning the station barcode
16+
3. Screen redirects to ASRS station screen
17+
4. Screen redirects to picking screen
18+
5. Popup for confirmation should open
19+
6. Order details: Batch name, Cut off time, Picking status should be displayed in HT. Station UI should show `Waiting for Pick` message.
20+
21+
## Parameter (Default values)
22+
23+
| pick_station_barcode | order_batch |
24+
|--------------------------------------|-----------------|
25+
| From the list of available station | `-` |
26+
| in the map, take a random station | |
27+
| with pick capability enabled | |
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Shared Step 007
2+
3+
**Title:** Perform pick in StationUI
4+
5+
## Steps
6+
1. `-`
7+
2. `-`
8+
3. Scan the barcode of the corresponding item
9+
4. Press DAS button
10+
11+
## Expected Result
12+
1. The @item should be displayed with Item picture, Item name, Item barcode, Item alternative barcode, Inventory sortkey, Inventory lot number, Item owner code, Inventory pack type, Quantity picked / Quantity to be picked, Pick instructions, LPMH, Station ID should be displayed
13+
2. There should be an arrow mark from source bin to destination bin should be displayed
14+
3. Successfully picked message should be displayed
15+
4. Pick should be completed:
16+
* Orderline fragment of the order should be `PICKED` (in case of internal order bins) or `FULFILLED` (in case of external order bins)
17+
* Order fragment should be `PARTIALLY_PICKED` (if there are other pending orderlines in the order) or `PICKED` (if there are no pending orderlines in the order)
18+
* Order batch fragment should be `PARTIALLY_PICKED` (if there are other pending orders in the order batch) or `PICKED` (if there are no pending orders in the order batch)
19+
* Inventory transaction should be created for `Pick Transfer` from SKU to Order bin (in case of internal order bins) or `Shipped` from SKU bin (in case of external order bins)
20+
21+
## Parameter (Default values)
22+
23+
| item |
24+
|------|
25+
| - |
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Shared Step 008
2+
3+
**Title:** Stow bins from CSV
4+
5+
## Steps
6+
1. [Open HT](http://localhost:3002)
7+
2. Click `ASRS`
8+
3. Scan `@stow_station_barcode`
9+
4. In the list of options, Select `Stowing`
10+
5. Select `Bin stowing`
11+
6. For each row in the `@containers_csv`, perform step 7
12+
7. Scan `Bin barcode`
13+
8. Scan non occupied `Tile barcode`
14+
9. Click `Stow bin`
15+
16+
## Expected Result
17+
1. Screen redirects to HT home page
18+
2. HT requests for scanning the station barcode
19+
3. Screen redirects to ASRS station screen
20+
4. Screen redirects to stowing screen
21+
5. Screen redirects to bin stowing screen
22+
6. `-`
23+
7. Bin barcode scanned successfully
24+
8. Tile barcode scanned successfully
25+
9. HT shows a toast message explaining Bin stowed successfully.
26+
- Container transaction of type `Move` should be created with bin name and target MHE as corresponding `ASRS` MHE
27+
- A Robot should be taking the bin inside the structure
28+
29+
## Parameter (Default values)
30+
31+
| stow_station_barcode | containers_csv |
32+
|--------------------------------------|-----------------|
33+
| From the list of available station | `-` |
34+
| in the map, take a random station | |
35+
| with stow capability enabled | |
36+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Shared Step 009
2+
3+
**Title:** Cancel an order
4+
5+
## Steps
6+
1. Open `Warehouse management` screen in SystemUI
7+
2. Click `Outbound`
8+
3. Under `WMS` and `Order batches` tab, search for `@order_batch`
9+
4. Click on the checkbox on the left most column corresponding to `@order_batch`
10+
5. Click `Cancel` button
11+
12+
## Expected Result
13+
1. Screen gets redirected to `Warehouse management` page
14+
2. `Outbound` tab should get selected
15+
3. `@order_batch` should be visible in the table
16+
4. `Cancel` button should be enabled
17+
5. Order should become `@cancellation_expected_status` and a notification indicating the request status should be displayed
18+
19+
## Parameter (Default values)
20+
21+
| order_batch | cancellation_expected_status |
22+
|--------------|---------------------------------|
23+
| - | Assignable |
24+
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Test Case ID: 001
2+
3+
**Title:** Order shall be picked by selecting a batch
4+
5+
**Tags:** confidence
6+
7+
---
8+
9+
## Description
10+
Order batch should be pickable by selecting a batch in HT
11+
12+
---
13+
14+
## Test details
15+
16+
| Priority | Environment | Category | Execution Status | Linked Issue(s) | item_master_csv | containers_csv | inventory_csv | orders_csv | order_batch |
17+
|----------|----------------------|-------------|---------------------|---------------------|-------------------------------------------------------------------------|-------------------------------------------------------------------------|--------------------------------------------------------------------|-------------------------------------------------------------|----------------------------|
18+
| P0 | Manual simulation | Functional | Not Executed | - | [tc_001_001_item_master.csv](./test_data/tc_001_001_item_master.csv) | [tc_001_001_containers.csv](./test_data/tc_001_001_containers.csv) | [tc_001_001_inventory.csv](./test_data/tc_001_001_inventory.csv) | [tc_001_001_orders.csv](./test_data/tc_001_001_orders.csv) | tc_001_001_注文バッチ_001 |
19+
20+
---
21+
22+
## Preconditions
23+
- ASRS environment should be setup with minimum of 2 robots
24+
- Pick station should be available
25+
- Internal order bin with default configuration should be defined
26+
- Fake picker should be turned off
27+
28+
---
29+
30+
## Steps
31+
1. [Login to SystemUI](../../../../../_shared_steps/step_003_login_to_systemui.md)
32+
2. [Upload item master, containers and inventory](../../../../../_shared_steps/step_002_upload_item_master_containers_and_inventory.md)
33+
3. [Login to HT](../../../../../_shared_steps/step_001_login_ht_with_username_and_password.md)
34+
4. [Stow bins from CSV](../../../../../_shared_steps/step_008_stow_bins_from_csv.md)
35+
5. [Reserve batch](../../../../../_shared_steps/step_004_reserve_batch.md)
36+
6. [Allocate batch](../../../../../_shared_steps/step_005_allocate_batch.md)
37+
7. [Initiate batch picking](../../../../../_shared_steps/step_006_initiate_batch_picking.md)
38+
8. For each pick perform step 8
39+
9. [Perform pick in StationUI](../../../../../_shared_steps/step_007_perform_pick_in_stationui.md)
40+
10. `-`
41+
42+
---
43+
44+
## Expected Behavior and Acceptance Criteria
45+
1. `-`
46+
2. `-`
47+
3. `-`
48+
4. `-`
49+
5. `-`
50+
6. `-`
51+
7. `-`
52+
8. `-`
53+
9. `-`
54+
10. Upon completing all picks, HT should show `Return to Home` and Station should return to Home screen.

0 commit comments

Comments
 (0)