Add sidebar drawer icons and favicon

This commit is contained in:
2026-08-05 13:31:14 +02:00
parent 41a562cd6f
commit 8ecbc6655f
7 changed files with 69 additions and 16 deletions
+8
View File
@@ -31,6 +31,14 @@ test("catalog maker remains usable on a narrow viewport", async ({ page }) => {
await page.screenshot({ path: "test-results/catalog-maker-mobile.png", fullPage: true });
});
test("parser tools open in a sidebar drawer", async ({ page }) => {
await page.goto("/");
await expect(page.locator("#parserDrawer")).toBeVisible();
await page.locator("#parserDrawerToggle").click();
await expect(page.locator("#parserDrawer")).toBeHidden();
await expect(page.locator("#parserDrawerToggle")).toHaveAttribute("aria-expanded", "false");
});
test("theme toggle switches and persists dark mode", async ({ page }) => {
await page.goto("/");
await expect(page.locator("html")).not.toHaveClass(/dark/);