---
module: profile.inbox
title: Inbox
tab: Testing
order: 35
audience: dev
---

Frontend test checklist for the Profile **Inbox** (on `bcos.dev`, open **Profile → Inbox**). Click through in the UI and mark each row Pass or Fail.

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

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

Recipients are other test users (e.g. `msp_a`, `customer_a`); institutions are **C1BD / C2BD / C3BD**.

## What to test

| # | Do this | ✅ Pass if |
|---|---------|-----------|
| 1 | As `customer_a`, open **Profile → Inbox** | Page loads with **Inbox** and **Sent** tabs and a message list (or "No messages") |
| 2 | Look at any unread rows | Unread rows show a **blue dot** + **bold subject**; the **Inbox** tab shows a count badge and the toolbar reads e.g. "3 messages · 1 unread" |
| 3 | Click an unread message row | A **side panel** slides in from the right with the full message; on close the row is **no longer bold**, dot gone, and the unread count drops by one |
| 4 | Click **Mark all read** in the toolbar | Every row loses its bold/dot, the tab badge disappears, and the **Mark all read** button itself disappears |
| 5 | Click **+ Compose** → **Direct**, search a recipient and add them (chip appears), type a subject + message, click **Send** | Success toast appears, panel closes, and the message shows on the **Sent** tab with the recipient in the **To** column |
| 6 | Still as `customer_a`, open **+ Compose** | Only **Direct** is offered — there is **no Broadcast** button and **no Institution** dropdown |
| 7 | Log in as `bcos_a`, open **+ Compose** | Both **Direct** and **Broadcast** buttons show, plus an **Institution** dropdown listing C1BD / C2BD / C3BD |
| 8 | As `bcos_a`, choose **Broadcast**, pick an institution (or "All institutions"), write a message, **Send** | "Broadcast sent" toast appears and it shows on the **Sent** tab as type **Broadcast** ("All users") |
| 9 | On an inbox message, click **Delete** (row button or in the open panel) | The message disappears from the list and the message count drops by one |
| 10 | In the header, toggle **Auto-refresh** off | The label stops showing a countdown; toggle back on and the countdown resumes |

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