feat: Phase 2+3 frontend coverage — responsive + accessibility tests + CI threshold
CI / test (push) Failing after 9s
CI / docker (push) Skipped

- Viewer accessibility: 5 tests (aria-labels, aria-expanded, label association, alert role)
- Viewer responsive: 3 tests (chat-collapsed, CSS grid, now-playing aria-live)
- Admin accessibility: 3 tests (nav aria-label, aria-current, focusability)
- Admin responsive: 2 tests (tab visibility, essential tabs)
- Coverage: vitest v8 provider, 40% stmt/lines, 30% branches/funcs
- CI: test:coverage step between lint and build
- Total: 44 frontend tests (31 + 13 new)
- Updated TODO.md (Phase 2+3 done), DONE.md, MEMORY.md
This commit is contained in:
zwitschi committed 2026-08-10 17:37:51 +02:00
1 parent 9178b7b295
commit d823763dc3
8 files changed
+168 -6

No files matched your search

+1
View File
@@ -9,6 +9,7 @@
"preview": "vite preview",
"lint": "tsc --noEmit",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest"
},
"devDependencies": {