E-commerce Inventory Management QA Report
Can a store sell the same pouch twice? I tested how Pouch & Shelf tracks salmon pouches sold individually and in sets, from the cart through shipment, stock counts and expiry.
Test setup
I ran the published web app locally in Chromium. Each fresh store started with three salmon pouches, one in lot C-01 and two in C-02. Each trio contains one chicken, one tuna and one salmon pouch.
On hand counts every pouch on the shelf. Available counts only those that can go into a new order. The browser clock was fixed for testing, then advanced for the expiry check.

The screenshots below show the original Chromium run at 1280 × 900. I repeated all eight cases in Chromium and Firefox at 390 × 844 and 1280 × 900. The stock levels matched in all four runs. These tests used desktop browsers with two viewport sizes. Compare the recorded results.
Test cases
Expand Evidence to compare the screenshots. Select an image to see it at full size.
INV-01 Shared stock for singles and setsPASS
- Steps
- Add two tasting trios, then one salmon pouch. Open the cart and switch from English to Japanese.
- Expected
- Each trio uses one salmon pouch. With three in stock, the extra single should use the last one. Switching languages should preserve the order.
- Actual
- The number of additional trios allowed fell from 1 to 0. Both carts showed two trios, one single and a total of ¥1,238.
- Evidence
INV-02 Cart quantity limitsPASS
- Steps
- Check both increase buttons in the full cart. Remove the single, then add one more trio.
- Expected
- Neither button should allow a fourth salmon pouch. Removing one pouch should free space for exactly one trio.
- Actual
- Both buttons were disabled. After removal, the cart accepted a third trio and disabled the increase button again.
- Evidence
View 2 screenshots
INV-03 Reservation at checkoutPASS
- Steps
- Return to two trios and one salmon pouch. Place the test order and open Store desk.
- Expected
- Reserve all three salmon pouches and keep them on the shelf until shipment.
- Actual
- Store desk showed 3 on hand, 3 reserved and 0 available. No more trios could be ordered.
- Evidence
View screenshot
INV-04 Cancellation before shipmentPASS
- Steps
- Cancel the unshipped order from INV-03.
- Expected
- Release all three reservations without changing the physical count.
- Actual
- The same order changed from “Awaiting shipment” to “Cancelled”. All 3 salmon pouches were available again, enough for 3 trios.
- Evidence
INV-05 Shipment without a second deductionPASS
- Steps
- Start with a fresh store. Order one salmon pouch, check stock, then ship the order.
- Expected
- Shipping should remove one pouch from the shelf and clear its reservation. Availability should stay at two.
- Actual
- On hand fell from 3 to 2 and reserved fell from 1 to 0. Available stock stayed at 2.
- Evidence
INV-06 Delivery during a stock countPASS
- Steps
- In a fresh store, save a draft count of 2 for salmon lot C-02. Receive 2 more into C-02, then apply the saved count.
- Expected
- Keep the 4 pouches in C-02 on record and pause new reservations for that lot until a recount.
- Actual
- The store kept 5 salmon pouches on hand. It flagged the 4 in C-02 for a recount, leaving only the 1 in C-01 available.
- Evidence
INV-07 Availability after a recountPASS
- Steps
- Save a fresh count of 4 for C-02 and apply it.
- Expected
- Release the four pouches for sale without adding them to physical stock a second time.
- Actual
- C-02 had 4 available again. Total salmon availability rose from 1 to 5, while the physical count stayed at 5.
- Evidence
INV-08 Best-before date rolloverPASS
- Steps
- Start fresh. Set the browser clock to 23:59:59 on 11 December 2026, the best-before date of lot C-01. Reload, advance to midnight in Japan and reload again.
- Expected
- Keep the pouch available through its best-before date. Exclude it the next day while retaining it in the physical count.
- Actual
- At midnight, C-01 changed from “In date” to “Expired”. Available salmon fell from 3 to 2, with all 3 still on hand.
- Evidence
Repeat the checks
Open the demo store and use the same tab for each sequence. Start fresh for INV-01, INV-05, INV-06 and INV-08. For the count and delivery, open Store desk and select C-02 in both forms.
The Playwright script includes setup commands and simulates the date change. These results cover the browser demo with test orders. No payment or physical shipment took place.
About Pouch & Shelf



















