---
module: fleet.patch-windows
title: Patch Window Guide
tab: Testing
order: 35
audience: dev
---

Frontend test checklist for **Fleet → Patch Windows** (`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 | Can |
|-------|------|-----|
| `bcos_a@bcos.dev` | Admin | Create / edit / delete, all institutions |
| `msp_a@msp1.bcos.dev` | MSP admin | Create / edit / delete, C1 + C2 |
| `customer_a@customer1.bcos.dev` | Customer | View only (C1) |

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

## What to test

| # | Do this | ✅ Pass if |
|---|---------|-----------|
| 1 | As `msp_a`, open **Fleet → Patch Windows** | The patch windows list loads |
| 2 | Click **New Window**, give it a name, pick **days** + a **start time**, save | The window appears in the list with the days/time you set |
| 3 | Open the window and **assign** `C1-ATM-001` (and a couple more C1 devices) | The assigned device count updates |
| 4 | **Edit** the window (change the time), save | The change persists after a refresh |
| 5 | Try to create a **second** window on a device already assigned to one | It's blocked / warns — a device belongs to one window at a time |
| 6 | **Delete** a test window | It's removed from the list |
| 7 | Log in as `customer_a`, open **Patch Windows** | You can **view** but there is **no New / Edit / Delete** (read-only) |
| 8 | As `customer_a` vs `msp_a`, compare the lists | `customer_a` sees **only C1**; `msp_a` sees **C1 + C2**, never C3 |

> ⚠️ **Known issue (fleet #89):** weekday windows currently don't schedule (a day-code bug). Until fixed, don't fail the suite on "the task didn't fire at the window time" — that's the tracked bug, not a new one.

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