test: add E2E tests for dashboard and collection views
Covers dashboard card rendering (item count, nav links, active thread/setup counts) and collection page (gear display, search, category filter, tab switching). Updates playwright config to serve production build with pre-seeded test DB. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
4
e2e/start-test-server.sh
Executable file
4
e2e/start-test-server.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
# Seed the test database, then start the production server
|
||||
bun run e2e/global-setup.ts
|
||||
NODE_ENV=production DATABASE_PATH=./e2e/test.db bun run src/server/index.ts
|
||||
Reference in New Issue
Block a user