diff --git a/surfaces/gui/e2e/automations-manage.spec.ts b/surfaces/gui/e2e/automations-manage.spec.ts index 9604399d..2c91d087 100644 --- a/surfaces/gui/e2e/automations-manage.spec.ts +++ b/surfaces/gui/e2e/automations-manage.spec.ts @@ -6,8 +6,7 @@ import { test } from "./fixtures"; async function openAutomations(page) { await page.goto("/"); - await page.getByTestId("account-row").click(); - await page.getByTestId("account-menu").getByRole("button", { name: "Automations", exact: true }).click(); + await page.getByTestId("nav-automations").click(); await expect(page.getByText("Recurring tasks OpenWorker runs on a schedule.")).toBeVisible(); } diff --git a/surfaces/gui/e2e/automations-quickstart.spec.ts b/surfaces/gui/e2e/automations-quickstart.spec.ts index 24a9b79d..e38662b2 100644 --- a/surfaces/gui/e2e/automations-quickstart.spec.ts +++ b/surfaces/gui/e2e/automations-quickstart.spec.ts @@ -7,8 +7,7 @@ import { test } from "./fixtures"; async function openAutomations(page) { await page.goto("/"); - await page.getByTestId("account-row").click(); - await page.getByTestId("account-menu").getByRole("button", { name: "Automations", exact: true }).click(); + await page.getByTestId("nav-automations").click(); await expect(page.getByText("Recurring tasks OpenWorker runs on a schedule.")).toBeVisible(); } diff --git a/surfaces/gui/e2e/automations.spec.ts b/surfaces/gui/e2e/automations.spec.ts index 146b1c40..1c7074da 100644 --- a/surfaces/gui/e2e/automations.spec.ts +++ b/surfaces/gui/e2e/automations.spec.ts @@ -7,8 +7,7 @@ test("scheduled run session shows the run banner; Back returns to the task detai page, }) => { await page.goto("/"); - await page.getByTestId("account-row").click(); - await page.getByTestId("account-menu").getByRole("button", { name: "Automations", exact: true }).click(); + await page.getByTestId("nav-automations").click(); // Task list → detail (runs list). await page.getByText("Daily AI News").first().click(); diff --git a/surfaces/gui/e2e/compaction.spec.ts b/surfaces/gui/e2e/compaction.spec.ts index c5fa0b61..af905815 100644 --- a/surfaces/gui/e2e/compaction.spec.ts +++ b/surfaces/gui/e2e/compaction.spec.ts @@ -10,7 +10,7 @@ test("Settings: Context compaction card edits threshold, cap, and summarizer mod await page.goto("/"); await page.getByTestId("account-row").click(); await page.getByRole("button", { name: "Settings", exact: true }).click(); - await page.getByRole("button", { name: "Models", exact: true }).click(); + await page.getByRole("button", { name: "Context optimization", exact: true }).click(); const card = page.getByTestId("compaction-card"); await expect(card).toBeVisible(); diff --git a/surfaces/gui/e2e/settings.spec.ts b/surfaces/gui/e2e/settings.spec.ts index 82f791be..3acbf3fa 100644 --- a/surfaces/gui/e2e/settings.spec.ts +++ b/surfaces/gui/e2e/settings.spec.ts @@ -96,13 +96,14 @@ test("Models: Remove key reverts a configured provider", async ({ page }) => { await expect(page.getByTestId("set-provider-anthropic")).toContainText("Not set up"); }); -// Token savings (owner ask 2026-07-17; moved under Models by UX-021): the card renders with -// the PDF fallback segmented control + attach thresholds, and edits POST through. +// Token savings (owner ask 2026-07-17; now under Settings ▸ Context optimization, +// owner 2026-08-21): the card renders with the PDF fallback segmented control + +// attach thresholds, and edits POST through. test("Settings: Token savings card edits PDF fallback and thresholds", async ({ page }) => { await page.goto("/"); await page.getByTestId("account-row").click(); await page.getByRole("button", { name: "Settings", exact: true }).click(); - await page.getByRole("button", { name: "Models", exact: true }).click(); + await page.getByRole("button", { name: "Context optimization", exact: true }).click(); const card = page.getByTestId("token-savings-card"); await expect(card).toBeVisible(); diff --git a/surfaces/gui/e2e/sidebar-account.spec.ts b/surfaces/gui/e2e/sidebar-account.spec.ts index eefc996d..1a2a8246 100644 --- a/surfaces/gui/e2e/sidebar-account.spec.ts +++ b/surfaces/gui/e2e/sidebar-account.spec.ts @@ -33,7 +33,8 @@ test("the account menu: Inbox + Connectors always listed; Settings carries the s await expect(menu.getByRole("button", { name: "Inbox" })).toBeVisible(); await expect(menu.getByRole("button", { name: "Connectors", exact: true })).toBeVisible(); await expect(menu.getByRole("button", { name: /Settings/ })).toContainText("⌘"); - await expect(menu.getByRole("button", { name: "Automations", exact: true })).toBeVisible(); + // Automations left the menu (owner 2026-08-21) — the sidebar nav row carries it. + await expect(menu.getByRole("button", { name: "Automations", exact: true })).toHaveCount(0); await expect(menu.getByRole("button", { name: "Activity", exact: true })).toBeVisible(); }); diff --git a/surfaces/gui/src/components/PersonasTab.tsx b/surfaces/gui/src/components/PersonasTab.tsx index ff0b285b..5ae29d8b 100644 --- a/surfaces/gui/src/components/PersonasTab.tsx +++ b/surfaces/gui/src/components/PersonasTab.tsx @@ -136,11 +136,8 @@ export function PersonasTab({ onOpenPersona }: { onOpenPersona?: (id: string) => return (
- Enable a coworker, then choose whether it appears in the coworker picker. The starred coworker - is the default for new sessions. -
- + {/* No intro line here — the PanelHead above already explains the page + (the two stacked one-liners read as duplicates, owner 2026-08-21). */}