From f0271a802f704c667cf97d663d5c1f61d45fbf80 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 19 May 2026 18:25:20 -0500 Subject: [PATCH] fix test --- web/e2e/specs/replay.spec.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/web/e2e/specs/replay.spec.ts b/web/e2e/specs/replay.spec.ts index c09abf10b2..51a42737f0 100644 --- a/web/e2e/specs/replay.spec.ts +++ b/web/e2e/specs/replay.spec.ts @@ -129,8 +129,14 @@ test.describe("Replay — active session @medium", () => { ); await actionGroup.first().click(); - const dialog = frigateApp.page.getByRole("dialog"); - await expect(dialog).toBeVisible({ timeout: 5_000 }); + // On mobile PlatformAwareSheet renders a MobilePage (full-screen panel) + // 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 ({