---
module: claims.claim-detail
title: Claim Detail
tab: Testing
order: 35
audience: dev
---

Frontend test checklist for the **Claim Detail** panel (`claims.bcos.dev`). Open a claim, click through each tab, and mark each row Pass or Fail.

## Set up
Log in at **claims.bcos.dev** — test accounts (all password `Passw0rd-d3v!`):

| Login | Role | Sees |
|-------|------|------|
| `bcos_a@bcos.dev` | Admin | All institutions |
| `msp_a@msp1.bcos.dev` | MSP admin | C1 + C2 only |
| `customer_a@customer1.bcos.dev` | Customer | C1 only |

Claims are tied to terminals — the simulator devices **C1-ATM-001…** (and **C2-/C3-** for the other institutions). Open a claim by clicking its row in the claims list.

## What to test

| # | Do this | ✅ Pass if |
|---|---------|-----------|
| 1 | As `msp_a`, click any claim row in the list | A panel slides in from the **right** with tabs **Overview / Messages / Files / 🔒 Notes / Payment**, and the header shows the claim number, terminal, and a status badge |
| 2 | On **Overview**, read the details grid | You see Shortage amount, Loss Start/End, Terminal, CIT/SP Vendor, and dates — no blank "Could not load claim details" toast |
| 3 | Click **Edit**, change **Status** to **Waiting CIT**, click **Save** | A "Claim updated" toast appears and the status badge changes to **Waiting CIT** |
| 4 | In that same Edit form, note the **CIT/SP Vendor** dropdowns before saving | If a vendor shows **"— None —"**, saving **removes** that vendor from the claim — leave them as-is unless you mean to change them (expected behaviour, not a bug) |
| 5 | Open **Messages**, type a message, click **Send** | Your message appears in the thread on the **right**, labelled **"You"**, and the box clears |
| 6 | Open **Files**, click **+ Upload File**, pick a small file | The file appears in the list with its size and your name; clicking the file name **downloads** it |
| 7 | Open **🔒 Notes**, type a note, click **Add Note** | The note appears in the list with your name and time (these are internal-only) |
| 8 | Open **Payment**, click **Edit** on a card, change **Paid**, click **Save** | The card updates and **Balance** recomputes to **Owed − Paid** |
| 9 | Click the **✕** to close, then log in as `customer_a` and open the claims list | You see **only C1** claims — no C2 or C3 terminals appear |
| 10 | Log in as `msp_a` and open the claims list | You see **C1 and C2** claims but **not C3** |

**Report a fail with:** the row #, which login you used, and what you actually saw.
