mirror of
https://github.com/andrewyng/openworker.git
synced 2026-09-10 22:20:27 +00:00
Imported from andrewyng/aisuite@1b4bbf303e (contents of its platform/ directory, hoisted to the repo root). Development history prior to this commit lives in that repository. Co-authored-by: Devika <devikaverma11@gmail.com>
11 lines
465 B
TypeScript
11 lines
465 B
TypeScript
import { test, expect } from "./fixtures";
|
|
|
|
test("app loads with the persona nav and composer", async ({ page }) => {
|
|
await page.goto("/");
|
|
await expect(page.getByText("OpenWorker").first()).toBeVisible();
|
|
// New session + Search are the fixed top nav.
|
|
await expect(page.getByRole("button", { name: /New session/i })).toBeVisible();
|
|
// The persona groups render from /v1/personas.
|
|
await expect(page.getByText("Ops", { exact: true })).toBeVisible();
|
|
});
|