---
module: aria.precursor-alerts
title: Precursor Alerts
tab: Testing
order: 35
audience: dev
---

Frontend test checklist for **Precursor Alerts** (`aria.bcos.dev`). Click through in the UI and mark each row Pass or Fail.

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

| Login | Role | Sees |
|-------|------|------|
| `bcos_a@bcos.dev` | Admin | All alerts — the only account that can use this screen |
| `msp_a@msp1.bcos.dev` | MSP admin | **Nothing** — admin-only screen (used for the role check) |
| `customer_a@customer1.bcos.dev` | Customer | **Nothing** — admin-only screen (used for the role check) |

Alerts are raised on the simulator devices: **C1-ATM-001…** (and C2-/C3- for the other institutions).

## What to test

| # | Do this | ✅ Pass if |
|---|---------|-----------|
| 1 | As `bcos_a`, open **Precursor Alerts** | Page loads with heading **Precursor Alerts** and a table with columns **Type / Device / Phases Detected / Confidence / Triggered / Status** — list defaults to **Active** alerts |
| 2 | Open the filters with the **▶** arrow (left), set **Type = Jackpotting** | List narrows to only **💰 Jackpotting** rows and a **Type: JACKPOTTING** chip appears above the table |
| 3 | Change **Status** to **Resolved**, then **All** | List switches to resolved-only, then to every alert; the count above the table updates |
| 4 | Type a device (e.g. `C1-ATM-001`) into **Device ID** | After a moment the list shows only that device's alerts, with a **Device:** chip |
| 5 | Click **✕ Clear all** (or remove a chip with its ×) | All filters clear and the full Active list returns |
| 6 | Click any alert row (or its **Events** button) | A side panel slides in from the right showing **Events in Sequence** — the individual signals, their phase, and severity |
| 7 | On an **Active** row click **Resolve** (or **Mark Resolved** in the panel) | A green **Resolved** toast shows and the row's Status becomes **Resolved** / drops out of the Active list |
| 8 | Turn the **Auto-refresh** toggle (top-right) off, then click the **↻** button | The toggle stops its countdown; **↻** reloads the list with no error |
| 9 | Log out and log in as `msp_a`, then as `customer_a`, open **Precursor Alerts** | Neither sees any alerts (empty list / "Load Failed") — this screen is admin-only, so this is expected, not a real bug |

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