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

2 KiB

Product reviews — conditional/unmaintained

Status: Prior product scope marks reviews unmaintained. These are proposed coverage if restored; no assumption of currently supported creation/response. Scope: getProductReviews/createReview/admin responses and uploaded review images.

ID Priority Action / input Expected result
REVIEW-01 P1 Authorized customer creates supported rating/body/image review. Correct product/SKU/customer relationship and visible review.
REVIEW-02 P1 Admin responds to authorized regional review. Persisted response/customer detail agree, no wrong variant association.
REVIEW-03 P1 Rating min/max/outside range, missing/long/Unicode body. Approved validation; no partial review.
REVIEW-04 P1 Multi-SKU product and global product reviews. Defined product-vs-SKU aggregation, no duplicate presentation.
REVIEW-05 P0 U2 impersonates U1 or edits unrelated review. Ownership/auth enforced.
REVIEW-06 P0 B admin responds to A-only review/private target. Approved regional permissions; no arbitrary ID mutation.
REVIEW-07 P1 Unsupported/missing/deleted product and repeated review. Approved eligibility/one-review policy; safe errors.
REVIEW-08 P0 Bad/unclaimed/foreign image key on create/response. No partial review/response or old-image deletion.
REVIEW-09 P1 Pagination/sort/empty product, reply refresh. Accurate count/order with no duplicate/missing review.
REVIEW-10 P1 Text contains HTML/script/links. Safely rendered; no executable content.
REVIEW-11 P1 Timeout/concurrent create/response. Defined final state; no hidden duplicate review/reply.
REVIEW-12 P2 Image failure or long response/text scale. Useful fallback and readable customer/admin layout.

Policy checkpoints: whether purchase required, product/SKU identity, moderation, repetition, region visibility and edit/delete lifecycle. Mark BLOCKED/conditional until maintained behavior is approved.