---
id: OV-C5-POS-003
title: "Hapus Semua deletes eligible queue items after confirmation"
product: mobile
module: offline-visitation
type: functional
priority: P1
risk: high
status: draft
automationStatus: planned
sourceRefs:
  tsd: PK144
  tsdSection: C5
  tsdScenario: C5.3
  prd: PK144
  jira: null
automationRef: null
lifecycleStatus: active
lifecycleReason: "AI-generated draft from PK144 TSD C5.3 (confirm/cancel); pending QA review."
lastReviewedAt: null
reviewedBy: null
supersededBy: null
duplicateOf: null
blockedBy: null
preconditionRefs:
  - PRE-OV-gagal-kirim-has-items
tags:
  - mobile
  - offline-visitation
  - perlu-dikirim
  - pk144
  - staging
---
## Objective
Verify bulk deletion of queue items via "Hapus Semua" with confirmation and cancel paths.

## Preconditions
- See [[PRE-OV-gagal-kirim-has-items]]
- And no item is in "Mengirim" status

## Steps
1. When the employee taps "Hapus Semua"
2. When the employee confirms; in a separate run, when the employee cancels

## Expected Result
- Then a confirmation dialog (permanent action warning) appears
- And on confirm all eligible items are permanently removed
- And on cancel no deletion occurs
- And deleted items are NOT moved to Riwayat and are NOT recoverable

## Source Traceability
- TSD: PK144
- Section: C5 - Expiration & Manual Deletion
- Scenario: C5.3 - Hapus Semua: bulk deletion with confirmation
- Acceptance Criteria: M.26 AC1–AC6

## Evidence Required
- Screen recording of confirm and cancel paths.

## Notes / Gaps
- Disabled-when-Mengirim is covered by OV-C5-NEG-004.
