openreader/tests
Richard R 4a985b3bf1 feat(tts): add continuation loop guard and block fingerprinting
Introduce safeguards for continuation handling in TTS flow to prevent looping and over-carrying text. Add constants to limit carried characters and words, and loop-guard thresholds. Implement normalizeBlockFingerprint to create compact fingerprints of page-first blocks and store them in pageFirstBlockFingerprintRef. Use fingerprint comparison and progress threshold to skip to next page when a loop is detected. Cap continuation slices by characters and words and ensure carried text matches the returned addition.

test(ui): make settings save button click more robust

In tests/helpers.ts wait for the Settings Save button to become visible (with a short timeout) before attempting to open Settings, and click the Settings button with force to avoid intermittent pointer-interception failures. Improve stability of setupTest by handling enter transitions and overlays.
2026-04-04 14:50:34 -06:00
..
files feat(tts): add smart sentence continuation 2025-11-14 12:00:03 -07:00
unit 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
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 fix(config): preserve voice selection when resetting TTS provider settings 2026-03-19 13:41: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 feat(tts): add continuation loop guard and block fingerprinting 2026-04-04 14:50:34 -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