diff --git a/tests/e2e/applications-crud.spec.ts b/tests/e2e/applications-crud.spec.ts index dd6b3aa913e..801e2d4257f 100644 --- a/tests/e2e/applications-crud.spec.ts +++ b/tests/e2e/applications-crud.spec.ts @@ -108,7 +108,7 @@ test.describe.serial("applications lifecycle", () => { await connectedRow.getByRole("button", { name: /^(Edit|Reconnect)$/ }).click(); await expect(page).toHaveURL( - new RegExp(`/${seed.prefix}/apps/app/${connected.applicationId}/setup$`), + new RegExp(`/${seed.prefix}/apps/${connected.id}/setup$`), { timeout: 20_000 }, ); diff --git a/tests/e2e/apps-prosumer-mcp-flow.spec.ts b/tests/e2e/apps-prosumer-mcp-flow.spec.ts index abf0243ea10..83425ba4c3b 100644 --- a/tests/e2e/apps-prosumer-mcp-flow.spec.ts +++ b/tests/e2e/apps-prosumer-mcp-flow.spec.ts @@ -4,7 +4,7 @@ import { listenOnFetchAllowedPort } from "./fetch-allowed-port"; // prosumer MCP flow — QA harness for the prosumer Connect-an-app flow on top of the // tool-access foundation. Covers the M-series happy path (gallery + key paste -// → choose actions → who-can-use → success), the expired-key reconnect path, +// → choose access → install → success), the expired-key reconnect path, // the Needs-attention surface, and a regression check that /apps/advanced // still mounts. // @@ -32,8 +32,7 @@ async function newCompany(request: APIRequestContext, label: string): Promise Promise; captures: Array<{ method: string; params: unknown }> }; @@ -228,7 +227,7 @@ test.describe.serial("prosumer MCP flow prosumer MCP flow", () => { // Needs-attention page should surface this connection. await gotoNeedsAttention(page, seed.prefix); await expect(page.getByRole("heading", { name: "Connections" })).toBeVisible({ timeout: 30_000 }); - await expect(page.getByText(/app needs attention/i).first()).toBeVisible({ timeout: 30_000 }); + await expect(page.getByText(/connection needs attention/i).first()).toBeVisible({ timeout: 30_000 }); await page.screenshot({ path: `${SCREENSHOT_DIR}/prosumer-mcp-07-needs-attention.png`, fullPage: true }); // App detail should expose the reconnect call-to-action.