freshyo/docs/test-cases/flash-delivery.md
2026-10-11 18:21:24 +05:30

24 lines
2.4 KiB
Markdown

# Flash / one-hour delivery
Scope: regional flash enablement/schedules, flash discovery/cart/checkout, per-region price/availability and admin flash-order views.
| ID | Priority | Action / input | Expected result |
|---|---|---|---|
| FLASH-01 | P0 | Enable A flash; F flash price distinct; COD order. | Flash price/fee, null slot, flash flag, correct A admin view. |
| FLASH-02 | P0 | A disabled, B enabled; stale A checkout direct submit. | A blocked server-side; B unaffected and available. |
| FLASH-03 | P0 | Regular-only/OOS/global-suspended/region-suspended/deleted SKU. | Cannot order in flash through any entry point or stale payload. |
| FLASH-04 | P1 | Remove flash eligibility or change flash price in open cart. | UI refresh/reprice; server refuses disabled eligibility. |
| FLASH-05 | P0 | Coupon min/cap near flash threshold with different regular price. | Flash goods basis on every surface and persisted order. |
| FLASH-06 | P1 | Null/zero flash price. | Approved fallback/zero-price behavior; no accidental substitution mismatch. |
| FLASH-07 | P1 | Regular and flash carts contain same SKU. | Independent quantities/fees; flash success clears only intended cart. |
| FLASH-08 | P0 | Client supplies scheduled slot IDs in flash payload. | Flash group normalized to no scheduled slot; no scheduled capacity side effects. |
| FLASH-09 | P1 | Select A2 address with distinct flash fee/threshold. | Address bound authoritative, not browsing A1. |
| FLASH-10 | P1 | Enable/disable job in sanctioned staging clock harness. | Correct regional setting and discovery publication. |
| FLASH-11 | P1 | Exact schedule boundary/midnight/timezone change. | Agreed timing applied once; no unexpected permanently enabled region. |
| FLASH-12 | P1 | Flash combo/global product with independent A/B markets. | Correct per-region flash price/composition eligibility. |
| FLASH-13 | P1 | All flash items become invalid before submit. | Clear no-items path, not empty order success. |
| FLASH-14 | P1 | Customer detail/history/admin filters on flash order. | No bogus scheduled date; accurate region/flash status. |
| FLASH-15 | P0 | Cancel flash COD order and restore coupon use. | Same lifecycle/financial invariants as scheduled group. |
| FLASH-16 | P2 | Flash cart/deep-link success on iOS/Android/web. | Correct destination/back path; no regular route contamination. |
Scheduling fixtures must not trigger production cron changes; see [jobs](jobs-health.md).