Align application panel header heights
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user