tts-voice-creator-clone-and.../tests
mARTin-B78 71a398b82f feat: add magazine reader frontend (P1)
Studio -> Magazines: library, contents tree grouped by section with
confidence/pages/listening-time/audio status, the Stage D review
screen (tick/untick layout blocks, correct title/author, approve or
reject), a reflowed article view with click-to-seek sentence
highlighting, a linked original-page view showing the source bounding
box, and a podcast panel (2-3 host pickers, script generation,
turn-by-turn playback).

Wired into the existing lazy-module system (module-manifest.json,
loader.js, nav.js) rather than a separate app. Reuses /api/tts-preview
for both narration and podcast turns -- no new audio pipeline.

Fixes found building this:
- The pane toggle used role="tab" without the full ARIA tabs pattern
  (aria-selected, roving tabindex, arrow-key nav) -- fails WCAG 2.2 AA
  and hid the buttons from role-based tooling. Replaced with a button
  group + aria-pressed, matching the plain-click interaction it
  actually has.
- Print layout cues ("(continued on page 8)") were being sent to TTS
  verbatim -- narration would have spoken the parenthetical aloud.
  Stripped from the narration copy only; layout.json keeps the
  original for the review screen.
- has_podcast now comes from the articles listing so opening an
  article without a generated script skips a doomed GET instead of a
  routine 404 on every open.

Verified against the real API contract with Playwright (library,
review pre-selection, approval, sentence highlighting + PDF-page
linking, podcast approval gate, zero console errors across the flow)
and manually end-to-end against a real ingested fixture, screenshots
included. Full suite: 94 Python tests, 33/34 desktop Playwright tests
(one unrelated pre-existing flaky DOM-count assertion).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-06 15:00:58 +02:00
..
fixtures test: add book two attribution fixture 2026-09-04 09:18:41 +02:00
bundle.spec.js Release v1.6.0: a11y (WCAG AA), i18n (DE), PWA, perf, tests, Cast UX 2026-06-03 14:23:35 +02:00
characters.spec.js perf: lazy-load section feature modules 2026-09-04 10:23:20 +02:00
constrained.spec.js test: measure constrained character workloads 2026-09-04 10:34:27 +02:00
i18n.spec.js Stabilize browser smoke tests for current UI 2026-08-19 16:59:39 +02:00
lazy-loading.spec.js fix: preserve audiobook dialogue boundaries 2026-09-04 15:36:26 +02:00
magazine.spec.js feat: add magazine reader frontend (P1) 2026-09-06 15:00:58 +02:00
rehearser.spec.js refactor: extract rehearser voice matching 2026-09-04 11:47:51 +02:00
smoke.spec.js feat: expand resource diagnostics 2026-09-04 10:42:08 +02:00
test_conversation.py test: lock visual identity prompts 2026-09-04 15:30:39 +02:00
test_magazine_routes.py feat: add magazine projects with layout-aware article extraction 2026-09-05 12:46:54 +02:00
test_magazine.py feat: add magazine reader frontend (P1) 2026-09-06 15:00:58 +02:00
test_provider_health.py refactor: centralize provider health probes 2026-09-04 10:25:55 +02:00
test_security.py feat: distinguish provider configuration and health 2026-09-04 11:35:52 +02:00