Problem Statement
No end-to-end tests exist. The critical user flow (register → login → create stream → view dashboard → WebSocket connect) has zero automated verification across the full stack.
Evidence
No Playwright, Cypress, or Selenium configuration exists in any package.
Impact
Integration bugs across service boundaries (e.g., auth cookie not sent correctly from Next.js to NestJS, WebSocket auth failing due to CORS, stream creation not reflected in dashboard) cannot be caught automatically.
Proposed Solution
Add @playwright/test as a root devDependency. Create E2E tests for:
- User registration and login flow
- Stream creation and listing
- Tag attachment and removal
- Admin dashboard loading
- WebSocket connection with JWT auth
- Error pages (404, 403)
Acceptance Criteria
File Map
e2e/playwright.config.ts — new
e2e/tests/auth.spec.ts — new
e2e/tests/streams.spec.ts — new
e2e/tests/admin.spec.ts — new
.github/workflows/ci.yml — add E2E job
Labels: testing
Priority: Medium | Difficulty: Advanced | Estimated Effort: 3d
Labels: testing
Priority: Medium | Difficulty: Advanced | Estimated Effort: 3d
Backlog ID: REPO-024
Problem Statement
No end-to-end tests exist. The critical user flow (register → login → create stream → view dashboard → WebSocket connect) has zero automated verification across the full stack.
Evidence
No Playwright, Cypress, or Selenium configuration exists in any package.
Impact
Integration bugs across service boundaries (e.g., auth cookie not sent correctly from Next.js to NestJS, WebSocket auth failing due to CORS, stream creation not reflected in dashboard) cannot be caught automatically.
Proposed Solution
Add
@playwright/testas a root devDependency. Create E2E tests for:Acceptance Criteria
File Map
e2e/playwright.config.ts— newe2e/tests/auth.spec.ts— newe2e/tests/streams.spec.ts— newe2e/tests/admin.spec.ts— new.github/workflows/ci.yml— add E2E jobLabels: testing
Priority: Medium | Difficulty: Advanced | Estimated Effort: 3d
Labels: testing
Priority: Medium | Difficulty: Advanced | Estimated Effort: 3d
Backlog ID: REPO-024