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

16 lines
553 B
TypeScript

import { test, expect } from "../../fixtures/office-fixture";
test.describe("Activity page", () => {
test("activity page renders", async ({ testPage, officeSeed: _ }) => {
await testPage.goto("/office/workspace/activity");
await expect(testPage.getByRole("heading", { name: /Activity/i }).first()).toBeVisible({
timeout: 10_000,
});
});
test("activity API returns data", async ({ officeApi, officeSeed }) => {
const result = await officeApi.listActivity(officeSeed.workspaceId);
expect(result).toBeDefined();
});
});