---
module: fleet.tasks
title: Fleet Task Workflow
tab: Testing
order: 35
audience: dev
---

Frontend test checklist for **Fleet Tasks** (`fleet.bcos.dev`). Click through in the UI and mark each row Pass or Fail.

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

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

Test devices are the simulators: **C1-ATM-001…**, **C1-TCR-001…** (and C2-/C3- for the other institutions).

## What to test

| # | Do this | ✅ Pass if |
|---|---------|-----------|
| 1 | As `msp_a`, open **Fleet Tasks** | Page loads with tabs **Current / Completed / Failed / Approvals** |
| 2 | **Create Task** → kind **Reboot** → pick `C1-ATM-001` → submit | New task shows in **Current** as **Pending** |
| 3 | Watch it (device polls within ~1 min) | Status moves Pending → Queued → Running → **Completed**, then leaves Current and appears in **Completed** |
| 4 | **Create Task** → kind **Hotfix** with an enabled artifact | Task shows as **Pending Approval** and appears in the **Approvals** tab |
| 5 | Still as `msp_a`, try to approve it | Approve is **blocked** (no button / disabled / error) — MSP admins can't approve |
| 6 | Log in as `bcos_a`, open **Approvals**, click **Approve** | Task moves to **Pending** and continues as normal |
| 7 | Log in as `customer_a`, open **Fleet Tasks** | You can **view** tasks but there is **no Create Task button** (read-only) |
| 8 | As `customer_a`, look at the device/task lists | You see **only C1** items — no C2 or C3 |
| 9 | As `msp_a`, look at the lists | You see **C1 and C2** but **not C3** |
| 10 | Create a task targeting a device shown as **Disconnected** | No task is created for it and the page shows a skip/none message — **no error/crash** |

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