Add overflow menu to system tabs on mobile (#24543)

* add overflow menu to system tabs on mobile

* add default icon, observe measure div, fix tests
This commit is contained in:
Josh Hawkins
2026-10-05 11:24:19 -06:00
committed by GitHub
parent 9b2839f4fb
commit dab0d85830
10 changed files with 361 additions and 272 deletions
+19
View File
@@ -287,3 +287,22 @@ test.describe("Live mobile layout @critical @mobile", () => {
await expect(frigateApp.page.locator("body")).toBeVisible();
});
});
test.describe("Live camera groups @medium", () => {
test("a group with an invalid icon renders a fallback icon", async ({
frigateApp,
}) => {
await frigateApp.installDefaults({
config: {
camera_groups: {
outdoor: { cameras: ["front_door"], icon: "generic" },
},
},
});
await frigateApp.goto("/");
const group = frigateApp.page
.locator('[aria-label="Camera Groups"]:not([inert] *)')
.first();
await expect(group.locator("svg")).toBeVisible({ timeout: 10_000 });
});
});