Align application panel header heights

This commit is contained in:
2026-08-05 16:32:56 +02:00
parent 9b7b2f3c2e
commit f1c730d007
4 changed files with 10 additions and 3 deletions
+6
View File
@@ -75,6 +75,12 @@ test("workspace columns collapse and expand without leaving a gap", async ({ pag
await expect(page.locator(".catalog-screen")).not.toHaveClass(/workspace-collapsed/);
});
test("uses one shared height for the top panel headers", async ({ page }) => {
await page.goto("/");
const heights = await page.locator("#sidebarDrawer .sidebar-drawer-header, .secondary-panel .column-header, .main-workspace .column-header").evaluateAll((elements) => elements.map((element) => Math.round(element.getBoundingClientRect().height)));
expect(new Set(heights).size).toBe(1);
});
test("theme toggle switches and persists dark mode", async ({ page }) => {
await page.goto("/");
await page.evaluate(() => localStorage.clear());