diff --git a/src/app/camera-card.test.tsx b/src/app/camera-card.test.tsx index e24896d..88b6474 100644 --- a/src/app/camera-card.test.tsx +++ b/src/app/camera-card.test.tsx @@ -270,6 +270,10 @@ describe("CameraCard", () => { expect(screen.queryByRole("link", { name: "Pop out Porch" })).toBeNull(); // The status still says what is wrong, where the picture would have been. expect(container.querySelector("[data-status='auth']")).toBeTruthy(); + + // Same box as the picture, and the aside that wouldn't fit is left out. + expect(container.querySelector(".aspect-video")).toBeTruthy(); + expect(container.textContent).not.toContain("Use the ONVIF user you created"); }); it("keeps a username the user typed over the saved one", async () => { diff --git a/src/app/camera-card.tsx b/src/app/camera-card.tsx index 5420956..5689bbd 100644 --- a/src/app/camera-card.tsx +++ b/src/app/camera-card.tsx @@ -178,14 +178,17 @@ export default function CameraCard({