frigate/web/e2e/specs/replay.spec.ts

24 lines
737 B
TypeScript
Raw Permalink Normal View History

2026-04-06 19:15:22 +03:00
/**
* Replay page tests -- LOW tier.
*
* Tests replay page rendering and basic interactivity.
2026-04-06 19:15:22 +03:00
*/
import { test, expect } from "../fixtures/frigate-test";
test.describe("Replay Page @low", () => {
test("replay page renders without crash", async ({ frigateApp }) => {
await frigateApp.goto("/replay");
await frigateApp.page.waitForTimeout(2000);
await expect(frigateApp.page.locator("body")).toBeVisible();
});
test("replay page has interactive controls", async ({ frigateApp }) => {
await frigateApp.goto("/replay");
await frigateApp.page.waitForTimeout(2000);
const buttons = frigateApp.page.locator("button");
const count = await buttons.count();
expect(count).toBeGreaterThan(0);
});
2026-04-06 19:15:22 +03:00
});