132bf61ee1
Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
17 lines
597 B
TypeScript
17 lines
597 B
TypeScript
import { test, expect } from "../../fixtures/office-fixture";
|
|
import { officeTopbarTitle } from "../../helpers/office-topbar";
|
|
|
|
test.describe("Activity page", () => {
|
|
test("activity page renders", async ({ testPage, officeSeed: _ }) => {
|
|
await testPage.goto("/office/workspace/activity");
|
|
await expect(officeTopbarTitle(testPage)).toHaveText(/Activity/i, {
|
|
timeout: 10_000,
|
|
});
|
|
});
|
|
|
|
test("activity API returns data", async ({ officeApi, officeSeed }) => {
|
|
const result = await officeApi.listActivity(officeSeed.workspaceId);
|
|
expect(result).toBeDefined();
|
|
});
|
|
});
|