From f9f7d6e8fcd6ba0d9846adc18fa86307ada07b52 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 28 May 2026 09:09:41 -0500 Subject: [PATCH] fix test --- web/e2e/specs/clone-camera.spec.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/web/e2e/specs/clone-camera.spec.ts b/web/e2e/specs/clone-camera.spec.ts index 400ab7e1fa..da8d7d61ea 100644 --- a/web/e2e/specs/clone-camera.spec.ts +++ b/web/e2e/specs/clone-camera.spec.ts @@ -103,12 +103,10 @@ test.describe("Camera clone dialog @medium @mobile", () => { await frigateApp.page.getByRole("button", { name: /^Clone$/i }).click(); - // At least one PUT must be sent — the establishing add payload. - await expect - .poll(() => requests.length, { timeout: 10_000 }) - .toBeGreaterThanOrEqual(1); + // New-camera clones bundle into a single atomic add PUT (avoids + // per-section validation ordering issues). + await expect.poll(() => requests.length, { timeout: 10_000 }).toBe(1); - // The establishing payload targets the add topic and requires a restart. const firstBody = requests[0].body as { requires_restart?: number; update_topic?: string;