# Customer complaints and resolution Scope: customer complaint list/raise, admin regional list/resolve, attachments and customer response visibility. Fixtures U1/U2 with A/B orders and general complaints. | ID | Priority | Action / input | Expected result | |---|---|---|---| | SUPPORT-01 | P1 | U1 raises complaint on own A order with valid photo. | Correct order/customer/text/attachment; A admin sees it. | | SUPPORT-02 | P1 | Raise general complaint without order. | Supported category stored/listed; no invented order association. | | SUPPORT-03 | P1 | A admin resolves with valid response. | Resolution state/body persists; customer sees response; supported notification enqueued. | | SUPPORT-04 | P1 | Empty/missing/long/Unicode complaint or response. | Approved validation; safe plain-text rendering. | | SUPPORT-05 | P0 | U2 files against/reads U1 order/complaint by ID. | Ownership enforced; no private order attachment. | | SUPPORT-06 | P0 | Admin B reads/resolves A complaint. | Regional access enforced; no leak/update. | | SUPPORT-07 | P1 | Missing/deleted order/product reference, old cancelled order. | Approved eligibility/history behavior; no detail crash. | | SUPPORT-08 | P1 | Invalid/unclaimed/missing attachment image. | Rejection or intentional no-image behavior; no half-created complaint. | | SUPPORT-09 | P0 | Reuse another account's uploaded image key. | Asset ownership validated; no foreign attachment exposure. | | SUPPORT-10 | P1 | Repeat resolve/concurrent responses. | Defined final response/event count; no duplicate compensation or push. | | SUPPORT-11 | P1 | Many open/resolved complaints, filter/page/reload. | Accurate totals/scope; no duplicate/missing rows. | | SUPPORT-12 | P1 | Complaint submitted while region switched. | Region derived by approved order/general-complaint rule, not accidental stale client. | | SUPPORT-13 | P1 | Resolve succeeds but queue/push fails. | Persisted resolution remains; recoverable notification, no false rollback claim. | | SUPPORT-14 | P1 | Network loss during create/resolve, retry after checking state. | No hidden partial complaint or duplicate response. | | SUPPORT-15 | P2 | Photos slow/broken, multiline response/text scale. | Useful attachment/error fallback and readable content. | | SUPPORT-16 | P0 | Anonymous/customer attempts admin resolve. | Server denies; complaint unchanged. | Policy checkpoint: regional ownership of general complaints without an order, repeat-resolution rules and compensation integration.