mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-07-16 06:42:23 -05:00
Add comprehensive end-to-end tests for the WebSocket system: - Protocol tests: auth (valid/invalid token, timeout, double auth), subscriptions (valid/invalid event, auth required, unsubscribe), message delivery (notification on team add, doer exclusion, multi-connection) - Frontend integration tests: notification badge update, dropdown rendering, and logout cleanup via browser-level Playwright tests - Comment notification test: full flow where user B mentions user A in a task comment and user A receives real-time WebSocket notification Includes ws test dependency, shared test helper utilities, and cascade-truncation of notifications when truncating users to prevent test pollution.