65c2b9cf85
Co-authored-by: iamlukethedev <iamlukethedev@users.noreply.github.com>
14 lines
478 B
TypeScript
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();
|
|
});
|