mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-06-24 05:11:54 +03:00
fix test
This commit is contained in:
parent
e2128e09ae
commit
f0271a802f
@ -129,8 +129,14 @@ test.describe("Replay — active session @medium", () => {
|
|||||||
);
|
);
|
||||||
await actionGroup.first().click();
|
await actionGroup.first().click();
|
||||||
|
|
||||||
const dialog = frigateApp.page.getByRole("dialog");
|
// On mobile PlatformAwareSheet renders a MobilePage (full-screen panel)
|
||||||
await expect(dialog).toBeVisible({ timeout: 5_000 });
|
// instead of a Radix Dialog, so assert the panel title heading is visible.
|
||||||
|
await expect(
|
||||||
|
frigateApp.page.getByRole("heading", {
|
||||||
|
level: 2,
|
||||||
|
name: /^Configuration$/i,
|
||||||
|
}),
|
||||||
|
).toBeVisible({ timeout: 5_000 });
|
||||||
});
|
});
|
||||||
|
|
||||||
test("Objects tab renders with the camera_activity objects list", async ({
|
test("Objects tab renders with the camera_activity objects list", async ({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user