Commit graph

2 commits

Author SHA1 Message Date
jedarden
ff81b91097 test(e2e): add comprehensive E2E tests for critical user flows
Add E2E test suite for FABRIC web dashboard covering all critical user flows:
- Worker selection and detail view navigation
- WebSocket connection and real-time event streaming
- Command palette search and execution
- Focus mode pin/unpin operations

Also adds test:e2e npm scripts for running Playwright tests.

Test files added:
- e2e/critical-flows.spec.ts - Integrated critical flow tests
- e2e/websocket-event-streaming.spec.ts - WebSocket event delivery
- e2e/command-palette-workflows.spec.ts - Command palette workflows
- e2e/focus-mode-multipin.spec.ts - Focus mode with multiple pins
- e2e/websocket-reconnection.spec.ts - Reconnection scenarios
- e2e/edge-cases.spec.ts - Edge cases and error handling
- e2e/web-dashboard.spec.ts - Basic dashboard tests

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-28 14:28:30 -04:00
jeda
4945726fd9 test: add Playwright E2E tests for web dashboard
Added E2E test suite covering:
- Homepage loading
- Worker grid display
- API endpoints (/api/workers, /api/events, /api/health, etc.)
- WebSocket connectivity
- Responsive design (mobile/tablet)

API tests verified with curl (11/11 endpoints working).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-05 05:14:24 +00:00