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. |
||
|---|---|---|
| .. | ||
| files | ||
| unit | ||
| accessibility.spec.ts | ||
| delete.spec.ts | ||
| export.spec.ts | ||
| folders.spec.ts | ||
| global-teardown.ts | ||
| helpers.ts | ||
| landing-routing.spec.ts | ||
| navigation.spec.ts | ||
| play.spec.ts | ||
| upload.spec.ts | ||