S3.8: office people show real agent state: running, queued, cooling down, blocked or idle, from sessions, task holds and pending approvals

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-09 13:51:04 -04:00
1 parent 202418f81c
commit ccd698602e
15 files changed
+164 -69

No files matched your search

+2 -1
View File
@@ -154,7 +154,8 @@ test("the list width, office people and chart values all work from the keyboard
await page.getByRole("button", { name: "Office", exact: true }).click();
await expect(page.getByRole("img", { name: /People here: 1./ })).toBeVisible();
const people = page.getByRole("combobox", { name: "Show a person" });
await people.selectOption({ label: "CEO, Idle" });
// The only person is the CEO, listed after the empty choice with whatever state their real work gives them.
await people.selectOption({ index: 1 });
await expect(page.getByRole("dialog", { name: "Agent CEO" })).toBeVisible();
await people.selectOption({ label: "Show a person…" });
await expect(page.getByRole("dialog", { name: "Agent CEO" })).toHaveCount(0);