---
module: incident.dashboard
title: Dashboard
tab: Testing
order: 35
audience: dev
---

Frontend test checklist for the **Dashboard** (the **Overview** landing screen in the Incident app). Click through in the UI and mark each row Pass or Fail.

## Set up
Log in at **incident.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 · read-only |

Fleet data comes from the simulators: **C1-ATM-001…**, **C1-TCR-001…**, **C1-SRV-001…** (and C2-/C3- for the other institutions). The Dashboard is **view-only** — there is nothing to create, edit, or delete here.

## What to test

| # | Do this | ✅ Pass if |
|---|---------|-----------|
| 1 | As `bcos_a`, open the app — it lands on **Overview** | Page shows **Device Status** cards, **Tickets** cards, and the **Incident Trends** + **Incidents by Type** panels — no error banner |
| 2 | Look at the **Device Status** cards (Total Devices, In Service, Out of Service) | Numbers are filled in; **Total Devices** shows an **ATM · TCR** split, and In Service shows a **%** |
| 3 | Look at the **Tickets** cards (Open / Assigned / In Progress / Critical / This Week) | Each card shows a number (may be 0) — none are blank or show `undefined`/`NaN` |
| 4 | Watch the **Auto-refresh** toggle in the header | The label counts down in seconds (e.g. `Auto-refresh (28s)`) and reaches 0, then restarts |
| 5 | Turn the **Auto-refresh** toggle **off** | The countdown stops and the label just reads **Auto-refresh** (no seconds) |
| 6 | Click the **↻** refresh button (top-right) | Numbers reload; the button briefly shows the spinner (⟳) then returns — no error |
| 7 | On **Incident Trends**, change the dropdown to **Last 30 days**, then **Last 60 days** | The bar chart redraws to show more bars each time; do the same on **Incidents by Type** and its list updates |
| 8 | Read the **Agent Connection** panel (Connected / Disconnected / Never) | Counts add up to the fleet total and the colored bar underneath reflects the mix |
| 9 | Log in as `customer_a` and open the Dashboard | You see **only C1** devices/tickets (no C2 or C3 numbers) and there is **no Add / Create / Edit button** anywhere on the screen |
| 10 | Log in as `msp_a` and compare the totals to `bcos_a` | `msp_a` totals cover **C1 + C2** but **not C3** — the numbers are smaller than the admin's fleet-wide totals |

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