audiobookshelf/client/cypress/tests/players
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
..
LocalAudioPlayer.cy.js Fix Smart Speed playback time contract 2026-05-07 20:36:43 +01:00
MediaPlayerContainer.cy.js Add Smart Speed E2E test with real audio and Web Audio API 2026-05-07 20:36:43 +01:00
SmartSpeedE2E.cy.js Add Smart Speed E2E test with real audio and Web Audio API 2026-05-07 20:36:43 +01:00