Bỏ qua để đến nội dung

Test cases: In-app notifications (admin & vendor)

Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.

VersionDate (UTC)Summary
1.0.02026-05-13Initial sheet; align with admin + vendor notification guides


IDClassScenarioAutomation
TC-NTF-001HappyList merges broadcast rows with user_notifications scoped to vendor_idUnit + E2E*
TC-NTF-002HappyOwner sees vendor_account rows with null recipient_user_idUnit
TC-NTF-003HappyEmployee sees vendor_employee rows for their sub when targetedUnit
TC-NTF-004UnhappyRow with recipient_user_id ≠ JWT sub hidden from employeeUnit
TC-NTF-005Unhappycustomer / delivery_man audience hidden from vendor merged listUnit
IDClassScenarioAutomation
TC-NTF-010HappyStore prefs suppress category (e.g. low stock off) → writer skips insertUnit
TC-NTF-011HappyOrder completed notification respects owner vs employee push prefsUnit
TC-NTF-012UnhappyMisconfigured prefs default safe (no duplicate owner rows)Unit
IDClassScenarioAutomation
TC-NTF-020HappyAdmin list loads with filters + paginationE2E*
TC-NTF-021UnhappyZone-limited admin cannot see out-of-zone notification payloadUnit
IDClassScenarioAutomation
TC-NTF-030HappyMark read / navigate to deep link from toastE2E*
TC-NTF-031UnhappyStale feed after mutation → refetch or optimistic rollbackE2E*

  • Constants from user-notification-recipient / visibility util mirrored in TC rows
  • New writer (PosService, VendorOrderInAppNotificationsService, …) adds a TC under Prefs & writers
  • i18n keys for empty / error states

Parent index: System test cases (index) · Vendor backend: Vendor backend