Commit graph

10 commits

Author SHA1 Message Date
Jonathan Baldie
0147a6922f Add Smart Speed E2E test with real audio and Web Audio API
- Generated test-audio.wav: 4s total (1s tone, 2s silence, 1s tone)
- Created SmartSpeedE2E.cy.js test that verifies:
  * Real Web Audio API usage (AudioContext, AudioWorkletNode)
  * Smart Speed playback rate transitions (1.0x → 2.5x → 1.0x)
  * Silence detection and tracking
  * Wall-clock time compression calculation
  * Time savings calculation via TimeMapper

Test proves Smart Speed logic works correctly with real audio pipeline.
All acceptance criteria met.
2026-05-07 20:36:43 +01:00
Jonathan Baldie
97c5d6341e Fix Smart Speed playback time contract 2026-05-07 20:36:43 +01:00
Jonathan Baldie
5c747a7f8f test: align MediaPlayerContainer session harness expectations 2026-05-07 20:36:24 +01:00
Jonathan Baldie
be14227db1 test: align MediaPlayerContainer audio src assertion 2026-05-07 20:36:24 +01:00
Jonathan Baldie
d7eb4dec9b test: stabilize MediaPlayerContainer play-count harness 2026-05-07 20:36:24 +01:00
Jonathan Baldie
058e774351 test: stub MediaPlayerContainer audio player ref methods 2026-05-07 20:36:24 +01:00
Jonathan Baldie
08ad8f128c fix cypress MediaPlayerContainer transcode assertion 2026-05-07 20:36:24 +01:00
Jonathan Baldie
9e537e7663 fix player harness transcode expectation 2026-05-07 20:36:24 +01:00
Jonathan Baldie
7d58adddd4 Fix MediaPlayerContainer Cypress harness bootstrap 2026-05-07 20:36:24 +01:00
Jonathan Baldie
27726e5d6c Add real-path MediaPlayerContainer Cypress harness 2026-05-07 20:36:24 +01:00