Actions
Development #7445
openFeature #7116: POS Terminal & Cart (M03)
Test M03 end-to-end sales transaction flow
Status:
New
Assignee:
Start date:
Due date:
% Done:
0%
Estimated time:
Complete Date:
Description
Refer to: docs/planning/modules/M03_POS_Terminal_Cart.md
Validate the complete M03 sales lifecycle.
Test the basic flow:
Scan Product → Cart → Payment → transactions.db → Backend → Upstream
Validate both Cashier-to-Backend modes:
Kafka mode
Cashier → Kafka → Backend → Kafka → QubeBiz/Mock Consumer
LAN mode
Cashier → LAN → Backend → Kafka → QubeBiz/Mock Consumer
Test at minimum:
- Scan valid barcode.
- Product search/manual entry.
- Multiple products.
- Quantity changes.
- Unknown barcode.
- Cart-line void.
- Cancel cart.
- Price override/approval.
- Complete basic payment.
- Verify transactions.db.
- Cashier restart with unfinished cart.
- Kafka unavailable/reconnect.
- LAN unavailable/reconnect.
- Backend unavailable/reconnect.
- Duplicate transaction submission.
- Backend restart.
- Upstream unavailable/reconnect.
- Verify completed transaction is eventually synchronized exactly once from a business perspective.
M04 Tax and M05 Discount calculations are outside this test scope except ensuring M03 does not prevent their later integration.
Done when: A basic POS sale can be completed offline at Cashier, safely persisted locally, and eventually synchronized through Backend to the upstream integration using either Kafka or LAN mode.
Actions