---
module: devices.sw-deploy
title: Software Deployment
tab: Testing
order: 35
audience: dev
---

Frontend test checklist for the **SW Deploy** tab (`devices.bcos.dev` → open a device → **SW Deploy** tab). Click through in the UI and mark each row Pass or Fail.

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

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

To reach the tab: open a device from the list, then click the **SW Deploy** tab in its detail panel. 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 `C1-ATM-001` → **SW Deploy** tab | Two step cards show — **1 Software Download** and **2 Software Install** with an arrow between — plus a **Software History** section below |
| 2 | Open a device that has never had a software update | Step 1 shows a **NO TASKS** badge with "No software download tasks for this device", Step 2 shows **NOT RUN**, and History reads "No software tasks found for this device" — no error |
| 3 | Open a device that does have software history | The History table lists rows with a **Type** badge (Download / Install), a colored **Status** badge, and filled **Date** / **Duration** columns |
| 4 | Compare the two step cards to the newest History rows | Step 1's badge matches the newest **Download** row's status and Step 2's badge matches the newest **Install** row's status |
| 5 | If a **Schedule Install** button appears on Step 2, click it | A **Schedule Software Install — <device>** dialog opens with an optional "Schedule for" date/time field and **Cancel** / **Create Install Task** buttons *(the button only appears briefly right after a successful download — if it's absent, that's expected, skip this row)* |
| 6 | In that dialog click **Cancel** (or the ✕) | The dialog closes and nothing new is added to the History table |
| 7 | Log in as `customer_a`, open a C1 device → **SW Deploy** tab | You can **view** the step cards and History, but there is **no Schedule Install button** (read-only) |
| 8 | Check the device list scoping: `customer_a` then `msp_a` | `customer_a` sees **only C1** devices; `msp_a` sees **C1 and C2** but **not C3** |

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