From 5834072d6f61567b93e2373946f11cd2929da607 Mon Sep 17 00:00:00 2001 From: hshum Date: Sat, 4 Jul 2026 22:18:48 -0700 Subject: [PATCH] fix: update live workspace smoke assertion --- tests/e2e/live-smoke.spec.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/e2e/live-smoke.spec.ts b/tests/e2e/live-smoke.spec.ts index 14dbcb54..85e70a4c 100644 --- a/tests/e2e/live-smoke.spec.ts +++ b/tests/e2e/live-smoke.spec.ts @@ -127,15 +127,17 @@ test.describe("live-smoke — Tier B hydrated-DOM verification", () => { const response = await page.goto(BASE_URL + "/workspace/w/acme-ai?tab=brief"); expect(response?.status()).toBe(200); // Chromeless shell — no cockpit rails, no top nav, no bottom tabbar. - // Assert the workspace mounted and kept the no-fixture-fallback contract. - await expect(page.getByRole("heading", { name: /Workspace draft/i })).toBeVisible({ + // Assert the standalone workspace mounted for the requested report id. + await expect(page.getByRole("heading", { name: "acme-ai" })).toBeVisible({ timeout: 15_000, }); // Brand-aware: the product lock docs say "Workspace" should appear in the // chromeless header; this also proves the route didn't fall through to // the cockpit layout. await expect(page.getByText(/Workspace/i).first()).toBeVisible(); - await expect(page.getByText(/No fixture fallback/i)).toBeVisible(); + await expect(page.getByRole("tab", { name: "Brief", selected: true })).toBeVisible(); + await expect(page.getByText(/Live artifact/i)).toBeVisible(); + await expect(page.getByText(/Report shell loaded/i)).toBeVisible(); }); test("console has no uncaught errors during landing load", async ({ page }) => {