---
module: msp.contact-groups
title: Contact Groups
tab: Testing
order: 35
audience: dev
---

Frontend test checklist for **Contact Groups** (MSP app → **Contact Groups**). Click through in the UI and mark each row Pass or Fail.

## Set up
Log in at **msp.bcos.dev**, open **Contact Groups** — test accounts (all password `Passw0rd-d3v!`):

| Login | Role | Can do |
|-------|------|--------|
| `bcos_a@bcos.dev` | Admin | Full — create/edit/delete/notify |
| `msp_a@msp1.bcos.dev` | MSP admin | Full — create/edit/delete/notify |
| `customer_a@customer1.bcos.dev` | Customer | View only |

Members are picked from your existing HiveIQ **users** (the C1/C2/C3 test users), not from devices.

## What to test

| # | Do this | ✅ Pass if |
|---|---------|-----------|
| 1 | As `msp_a`, open **Contact Groups** | Table loads with columns **Group Name / Description / Members / Subscriptions / Created**, and toolbar buttons **Send Notification** and **+ New Group** |
| 2 | **+ New Group** → name `QA Managers` + a description → **Create Group** | Green "Group created" toast; the new group appears as a row in the table |
| 3 | **+ New Group** again with the same name `QA Managers` → **Create Group** | An error shows in the panel (name already exists); **no** duplicate row is added |
| 4 | Click the `QA Managers` row → in the panel click **Edit**, change the description → **Save** | "Group updated" toast; the new description shows in the panel and the table |
| 5 | In the panel, tick a **Notification Subscription** (e.g. *System Announcement*) | The checkbox fills blue and that type shows as a green tag in the group's **Subscriptions** column |
| 6 | In the panel → **Add Members**, search a user, tick them → **Add … Selected**, then **Remove** one | Member appears and the **Members** count goes up; after Remove it goes back down — no error |
| 7 | Toolbar **Send Notification** → pick a type, enter Subject + Message → **Send Notification** | "Sent to N recipient(s)" toast and the panel closes (N may be 0 if no group is subscribed — still a pass) |
| 8 | Open the **Filters** sidebar (▶), type part of a group name, then click a **Subscription** pill | The list narrows to matching groups; a filter chip appears and **Clear all** empties it again |
| 9 | Delete `QA Managers` via **Delete** → confirm in the modal | "Group deleted" toast; the row disappears from the table |
| 10 | Log in as `customer_a`, open **Contact Groups** | You can **view** the group list. ⚠️ Groups are shared, not institution-filtered — seeing C2/C3 groups here is expected, not a fail. Create/Delete should not succeed for a customer (error toast, nothing changes) |

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