Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
455 changes: 453 additions & 2 deletions apps/mission-control/e2e/mockGateway.mjs

Large diffs are not rendered by default.

21 changes: 17 additions & 4 deletions apps/mission-control/e2e/p4-staff-slice.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,24 @@ test("@core @p4-staff staff parity, pin-to-office, and the office shortcut hold
await page.keyboard.press("Escape");
await expect(roleCard).toHaveCount(0);

// People & Routing is now an exact stable-room handoff to Basement ·
// Directory / Front Desk. The affordance stays reachable; the authoritative
// editable surface lives in the Directory room and lights its lamp.
await teamPage.getByRole("button", { name: "People & Routing" }).click();
await expect(teamPage).toContainText("People And Routing");
await expect(teamPage).toContainText("local-operator");
await teamPage.getByRole("button", { name: "Routing Setup" }).click();
await expect(teamPage).toContainText("Humans currently active in routing.");
await expect(activeRooms).toHaveCount(1);
await expect(activeRooms).toHaveAttribute(
"title",
"BF · Directory / Front Desk",
);
const mailPage = page.getByTestId("mail-page");
await expect(mailPage).toContainText("People And Routing");
await expect(mailPage).toContainText("local-operator");
await mailPage.getByRole("button", { name: "Routing Setup" }).click();
await expect(mailPage).toContainText("Humans currently active in routing.");

// Returning to the Staff room resumes the Team parity checks.
await page.locator('button[title="2F · Staff Directory"]').click();
await expect(activeRooms).toHaveAttribute("title", "2F · Staff Directory");

await teamPage.getByRole("button", { name: "Presets", exact: true }).click();
await expect(teamPage).toContainText("Bootstrap Presets");
Expand Down
Loading
Loading