---
module: vault.cit-visits
title: CIT Visits
tab: Testing
order: 35
audience: dev
---

Frontend test checklist for **CIT Visits** (`vault.bcos.dev`). Click through in the UI and mark each row Pass or Fail.

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

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

Visits are recorded against the simulator ATMs: **C1-ATM-001…** (and C2-/C3- for the other institutions).

## What to test

| # | Do this | ✅ Pass if |
|---|---------|-----------|
| 1 | As `msp_a`, open **CIT Visits** | Page loads with a table (ATM ID, Visit Date, Vendor, Reference, Slots, Cash Added, Cash Removed, Removals, Status) and a **visit count** at the top |
| 2 | Click the **▶** arrow to expand the **Filters** panel on the left, set **Status = Confirmed** | Table shows only **Confirmed** rows and a **Confirmed** tag appears above the table |
| 3 | Type an ATM ID (e.g. `C1-ATM-001`) into the **ATM ID** filter | Table narrows to that machine; an **ATM: …** tag appears; the count pill updates |
| 4 | Click the **×** on the ATM tag (or **✕ Clear all**) | That filter clears and the full list returns; **Clear all** removes every tag at once |
| 5 | Set a **From / To** date range | Only visits inside that range show; count updates — no error/crash |
| 6 | Click any visit **row** | A detail panel slides in from the right with the ATM ID + vendor header, **Cash Added / Cash Removed / Removals** stats, and a **Cassette Counts** table |
| 7 | In the panel, click **✓ Confirm** (or **! Dispute**) | The status badge updates, a success toast shows, and the row's **Status** in the table changes to match |
| 8 | In the panel, under **Notes** click **Edit**, type text, click **Save** | A "Notes saved" toast shows and the note text appears; **Cancel** discards instead |
| 9 | As `customer_a`, open **CIT Visits** | You see **only C1** ATM IDs — no C2 or C3 visits anywhere in the list or filters |
| 10 | As `msp_a`, scan the list | You see **C1 and C2** visits but **not C3** |

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