openreader/tests
Richard R 52e512f17d test(ui,tests): stabilize audiobook export tests and harden settings modal interactions
- Add waitForBackendDownloadReady helper to tests/export.spec.ts to wait for backend
  chapter metadata and enabled full-download UI before attempting combines/downloads.
  Use it in two export tests to reduce flakiness related to eventual backend storage visibility.
- Improve uploadAndDisplay helper in tests/helpers.ts to retry link click when transient
  "intercepts pointer events" errors occur, ensuring test clicks succeed under flaky UI conditions.
  Add dismissSettingsModalIfVisible to detect and close the Settings dialog before interacting
  with page links (click Save or press Escape, wait for dialog to hide).
- Update SettingsModal.tsx useEffect dependencies to avoid referencing checkFirstVist in the
  local state sync effect and add separate effect for checkFirstVist for clearer lifecycle.

Why: Reduce end-to-end test flakiness by waiting for backend readiness and making UI interactions
more robust; simplify SettingsModal effect dependencies to prevent unnecessary re-runs. Breaking changes: none.
2026-04-06 09:59:37 -06:00
..
files feat(tts): add smart sentence continuation 2025-11-14 12:00:03 -07:00
unit refactor(tts,config,audiobook): centralize TTS provider catalog and extract audiobook pipeline 2026-04-04 17:53:57 -06:00
accessibility.spec.ts refactor(documents): migrate from IndexedDB to server-backed storage with caching 2026-02-08 11:15:57 -07:00
delete.spec.ts feat(ui): add five new light themes and redesign settings modal 2026-03-19 10:24:16 -06:00
export.spec.ts test(ui,tests): stabilize audiobook export tests and harden settings modal interactions 2026-04-06 09:59:37 -06:00
folders.spec.ts refactor(documents): migrate from IndexedDB to server-backed storage with caching 2026-02-08 11:15:57 -07:00
global-teardown.ts feat: Refactor server-side document, audiobook, and authentication logic, introduce new client-side APIs and caching, and update related tests. 2026-02-17 19:30:12 -07:00
helpers.ts test(ui,tests): stabilize audiobook export tests and harden settings modal interactions 2026-04-06 09:59:37 -06:00
landing-routing.spec.ts feat(auth): implement session gatekeeping and architectural reorganization 2026-02-15 11:12:42 -07:00
navigation.spec.ts test: improve test reliability and adjust timeouts 2026-02-16 01:50:43 -07:00
play.spec.ts fix(config): preserve voice selection when resetting TTS provider settings 2026-03-19 13:41:37 -06:00
upload.spec.ts refactor(documents): migrate from IndexedDB to server-backed storage with caching 2026-02-08 11:15:57 -07:00