Files
horus-3d/tests/e2e/focused-smoke.spec.ts
2026-03-20 23:05:14 -05:00

14 lines
478 B
TypeScript

import { expect, test } from "@playwright/test";
import { stubStudioRoute } from "./helpers/studioRoute";
test("loads office shell from root", async ({ page }) => {
await stubStudioRoute(page);
await page.goto("/");
await expect
.poll(() => new URL(page.url()).pathname)
.toBe("/office");
await expect(page.getByRole("button", { name: "Open headquarters sidebar" })).toBeVisible();
await expect(page.getByRole("button", { name: "CHAT" })).toBeVisible();
});