add default icon, observe measure div, fix tests

This commit is contained in:
Josh Hawkins
2026-10-02 07:13:30 -05:00
parent 5ab8666d4a
commit 06ed433e9a
7 changed files with 76 additions and 41 deletions
+11
View File
@@ -0,0 +1,11 @@
import type { FrigateApp } from "../fixtures/frigate-test";
// On mobile the System tabs sit in an OverflowStrip, which keeps an inert copy
// of every tab for measurement and hides the ones that do not fit behind a
// kebab. The selected tab always stays in the strip.
export function systemTab(frigateApp: FrigateApp, name: string) {
return frigateApp.page
.locator(`[aria-label="Select ${name}" i]:not([inert] *)`)
.first();
}