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

2.6 KiB

Combo products and combo-only components

Scope: item/combo product type, component membership, feature display, visibility and purchasing.

ID Priority Action / input Expected result
COMBO-01 P0 Create valid combo with two components; assign slot; order. One combo SKU line charged at combo price; no duplicate component charges.
COMBO-02 P1 Edit component set/features/image. Latest composition displayed; unrelated combos unaffected.
COMBO-03 P1 Component marked combo-only. Hidden from Home/search/Offers/store lists but visible within combo details.
COMBO-04 P1 Ordinary component used by multiple combos. Correct membership; edits don't duplicate or detach other combos.
COMBO-05 P1 Duplicate components in create/update. Deduplicated/rejected per contract; no duplicate feature/quantity rendering.
COMBO-06 P0 Foreign-region/missing/deleted component ID. Invalid associations rejected before partial combo creation.
COMBO-07 P0 Self-reference or cyclic nested combos. Rejected or bounded supported graph; no recursive crash or infinite calculation.
COMBO-08 P1 Empty component list and item→combo/type reversal. Approved product-type rules; no orphan old membership.
COMBO-09 P0 Component globally/regionally suspended/OOS/deleted. Agreed combo serviceability policy consistent in catalog and server checkout.
COMBO-10 P1 Attempt suspend component of active combo. Approved dependency protection with clear blocker; no partial suspension.
COMBO-11 P1 Component regular-only but combo flash-enabled. Explicit flash/component policy; no inconsistent silently substituted price.
COMBO-12 P0 Coupon targets combo SKU vs component SKU only. Target matching uses actual purchased line SKU; no phantom component discount.
COMBO-13 P1 Global combo shown in A/B with regional prices. Structural composition stable; market flags/price scoped.
COMBO-14 P1 Component product rename/delete after historical combo order. Historical purchased identity/amount unchanged; no detail crash.
COMBO-15 P1 Long/missing features and missing component image. Useful fallback, no blank broken combo summary.
COMBO-16 P1 Save fails during component writes, retry. No partial/duplicate memberships; old combo retained on failed edit.

Policy checkpoints: component OOS/deletion behavior, nested combos, and direct API orders of combo-only SKUs. Prior policy allows direct API access to combo-only SKUs; hidden customer-list visibility is mandatory, but do not invent a server prohibition.