Files
kandev/apps/web/e2e/tests/office/org-chart.spec.ts
T
2026-05-16 20:07:57 +01:00

13 lines
502 B
TypeScript

import { test, expect } from "../../fixtures/office-fixture";
test.describe("Org chart", () => {
test("org chart shows CEO agent node", async ({ testPage, officeSeed: _ }) => {
await testPage.goto("/office/workspace/org");
await expect(testPage.getByRole("heading", { name: /Org/i }).first()).toBeVisible({
timeout: 10_000,
});
// CEO agent from onboarding should appear as a node
await expect(testPage.getByText("CEO").first()).toBeVisible({ timeout: 15_000 });
});
});