vestige/apps/dashboard/playwright.config.ts
Sam Valladares 9bdcc69ce3 feat: live memory materialization — nodes spawn in 3D graph in real-time
When memories are created, promoted, deleted, or dreamed via MCP tools,
the 3D graph now shows spectacular live animations:

- Rainbow particle burst + elastic scale-up on MemoryCreated
- Ripple wave cascading to nearby nodes
- Green pulse + node growth on MemoryPromoted
- Implosion + dissolution on MemoryDeleted
- Edge growth animation on ConnectionDiscovered
- Purple cascade on DreamStarted/DreamProgress/DreamCompleted
- FIFO eviction at 50 live nodes to guard performance

Also: graph center defaults to most-connected node, legacy HTML
redirects to SvelteKit dashboard, CSS height chain fix in layout.

Testing: 150 unit tests (vitest), 11 e2e tests (Playwright with
MCP Streamable HTTP client), 22 proof screenshots.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 14:04:31 -06:00

27 lines
591 B
TypeScript

import { defineConfig } from '@playwright/test';
const PORT = 5199;
export default defineConfig({
testDir: './e2e',
timeout: 60_000,
expect: { timeout: 10_000 },
fullyParallel: false,
retries: 0,
reporter: [['list'], ['html', { open: 'never' }]],
use: {
baseURL: `http://localhost:${PORT}`,
screenshot: 'on',
video: 'retain-on-failure',
trace: 'retain-on-failure',
launchOptions: {
args: ['--use-gl=angle', '--ignore-gpu-blocklist'],
},
},
webServer: {
command: `npx vite dev --port ${PORT}`,
port: PORT,
reuseExistingServer: true,
timeout: 30_000,
},
});