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

2.1 KiB

Banners and promotional navigation

Scope: admin banner CRUD, active state/order, assets and customer click-through.

ID Priority Action / input Expected result
BANNER-01 P1 Create inactive banner, then activate with valid image/products. Not shown as active before activation; correct A banner afterwards.
BANNER-02 P1 Tap banner from Home/flash surface if supported. Intended product/content route; correct SKU/region.
BANNER-03 P1 Edit image, links, active state and sequence. Updated order/content after refresh; no stale navigable image.
BANNER-04 P0 A banner references foreign B store/SKU; B edits A banner. Cross-region association/access denied. Global targets accepted where allowed.
BANNER-05 P1 Empty/missing/invalid image or unknown product IDs. Validation and useful empty behavior; no broken published banner.
BANNER-06 P1 Duplicate sequence/order, multiple active banners. Defined deterministic sorting; no duplicated carousel entry.
BANNER-07 P1 Target deleted/suspended while banner remains active. Safe filtered destination/not-found fallback; cannot order hidden item.
BANNER-08 P1 Delete/deactivate banner while customer carousel is open. Refresh removes it; stale tap safely handled.
BANNER-09 P1 Invalid/unclaimed replacement upload key. Failed edit leaves original image and banner intact.
BANNER-10 P1 Delete image cleanup fails. DB deletion result explicit; no permanent undeletable banner.
BANNER-11 P0 External/javascript-like malformed destination where links supported. Only allowed navigation schemes; no script execution.
BANNER-12 P1 Save timeout/double create/concurrent reorder. No half-created relation or unintended duplicate record.
BANNER-13 P2 Carousel swipe, autoplay if supported, orientation/text scale. Accessible controls and stable readable layout.
BANNER-14 P1 A/B edits within same publication window. Region-specific final banner sets; B unaffected by A deactivate.

Related: uploads, cache.