mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-10 00:57:38 +03:00
24 lines
737 B
TypeScript
24 lines
737 B
TypeScript
/**
|
|
* Replay page tests -- LOW tier.
|
|
*
|
|
* Tests replay page rendering and basic interactivity.
|
|
*/
|
|
|
|
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);
|
|
});
|
|
});
|