Skip to content

test(e2e): Playwright acceptance suite (T5.1) - #23

Merged
prateekchaplot merged 1 commit into
mainfrom
arch/tts/t5.1
Nov 24, 2026
Merged

prateekchaplot merged 1 commit into
mainfrom
arch/tts/t5.1

Conversation

@prateekchaplot

Copy link
Copy Markdown
Owner

Task T5.1 from docs/ARCHITECTURE.md §14.2.

Adds the Playwright acceptance suite in tests/e2e/: one spec per PRD §8 criterion (AC1–AC15), shared API/WAV/subtitle/UI helpers, upload fixtures, and a two-server Playwright config (main tts on 8321, plus a fault-armed TTS_FAULT=engine server on 8322 for AC11). The suite is serial and runs against the real en_US-lessac-medium; the API and UI share one library per spec collection.

Verification:

  • 15/15 specs pass against the real voice, three consecutive runs, one of them from empty data directories (voice seeding proven)
  • npx tsc -p tests/e2e --noEmit
  • 201 pytest unit; 16 integration
  • 111 Vitest; ESLint; frontend tsc --noEmit; Prettier (CRLF)
  • Ruff check/format; strict mypy
  • git diff --check

No production code, CI workflow, or ignore-file changes: the existing e2e job already gates on tests/e2e/playwright.config.ts and its server on 8321 is reused by the config.

Tracker: docs/TASKS.md moves T5.1 to Doing with notes on the two-server topology, provisional AC7 ±100 ms tolerance (T5.3 owns the final number), data-directory conventions, fixtures, and Python resolution.

@prateekchaplot
prateekchaplot merged commit fd6bd31 into main Nov 24, 2026
5 checks passed
@prateekchaplot
prateekchaplot deleted the arch/tts/t5.1 branch November 24, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant