Test coverage backlog #25

Open
opened 2026-06-22 23:54:54 +00:00 by rbrooks · 0 comments
Owner

Test infrastructure (Vitest + supertest + real DB/Redis) is established; these are a matter of writing the tests. Unprioritized.

  • Search tests (full-text + semantic paths; source/tag/certainty/date filters) - needs a seeded vector or running AI server
  • Import job lifecycle tests (enqueue, poll to done, confirm counts) - needs BullMQ worker running
  • Duplicate queue tests (kept/dismissed; resolved items don't reappear)
  • Rate limiting tests (AI + backup-trigger return 429 after threshold)
  • OIDC callback tests (state/PKCE; graceful redirect on mismatch) - needs a mock OIDC server
  • Backup service tests (restic command construction, env allowlist, job state) - needs a real restic binary
  • Frontend component tests (EntryForm, ImportPage, SearchPage)
  • PWA / offline queue tests (IndexedDB lifecycle, sync on reconnect, SW cache exclusions) - Playwright
  • End-to-end tests (login -> create -> search -> export) - Playwright against the Docker stack

Imported from ROADMAP.md.

Test infrastructure (Vitest + supertest + real DB/Redis) is established; these are a matter of writing the tests. Unprioritized. - [ ] Search tests (full-text + semantic paths; source/tag/certainty/date filters) - needs a seeded vector or running AI server - [ ] Import job lifecycle tests (enqueue, poll to done, confirm counts) - needs BullMQ worker running - [ ] Duplicate queue tests (kept/dismissed; resolved items don't reappear) - [ ] Rate limiting tests (AI + backup-trigger return 429 after threshold) - [ ] OIDC callback tests (state/PKCE; graceful redirect on mismatch) - needs a mock OIDC server - [ ] Backup service tests (restic command construction, env allowlist, job state) - needs a real restic binary - [ ] Frontend component tests (EntryForm, ImportPage, SearchPage) - [ ] PWA / offline queue tests (IndexedDB lifecycle, sync on reconnect, SW cache exclusions) - Playwright - [ ] End-to-end tests (login -> create -> search -> export) - Playwright against the Docker stack --- _Imported from `ROADMAP.md`._
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rbrooks/TeaLeaves#25
No description provided.