fix(web): render sidebar on settings route

Settings page was rendering Outlet directly, omitting the Sidebar nav.
Adds a playwright e2e test asserting sidebar visibility on both
dashboard and settings routes.
This commit is contained in:
Offending Commit
2026-05-03 16:58:43 -05:00
parent 784cbee870
commit 557fecf038
6 changed files with 92 additions and 11 deletions

View File

@@ -0,0 +1,17 @@
import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./e2e",
fullyParallel: true,
reporter: "list",
use: {
baseURL: "http://localhost:5173",
},
projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }],
webServer: {
command: "pnpm dev",
url: "http://localhost:5173",
reuseExistingServer: !process.env.CI,
timeout: 60_000,
},
});