Jonathan Baldie
76a04065df
test: add SmartSpeedInit focused unit test from na9
...
Cherry-picked from bead/audiobookshelf-na9-playerui-init (8c645cdf).
Adds focused unit test that proves Smart Speed worklet initialization
works correctly. Tests LocalAudioPlayer.setSmartSpeed() directly and
verifies audioWorklet.addModule is called with SilenceDetectorProcessor.js.
Closes audiobookshelf-na9.
2026-05-07 20:36:43 +01:00
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
bc0e4d59c0
fix: keep bookmark timestamps in wall-clock time
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
advplyr
4102ed8be4
Fix LazySeriesCard component test
CodeQL / Analyze (push) Has been cancelled
Run Component Tests / Run Component Tests (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
2025-07-07 16:49:20 -05:00
advplyr
f853cff920
Fix LazyBookCard test with new globals getter for placeholder url
CodeQL / Analyze (push) Has been cancelled
Run Component Tests / Run Component Tests (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
2025-03-28 17:42:41 -05:00
mikiher
b18da959db
Fix broken component tests
2025-03-23 20:40:58 +02:00
Daniel Lauzon
acda776e3e
Fixes #3817
...
Correct rounding and carry of minutes in Vue.prototype.$elapsedPrettyExtended
-Add cypress tests for Vue.prototype.$elapsedPrettyExtended function
2025-01-13 13:36:15 -05:00
mikiher
6820d9ae4e
Fix AuthorCard component test
2024-10-06 18:57:13 +03:00
mikiher
54f2bb1092
Add a Show Subtitles option
2024-07-04 20:35:58 +03:00
mikiher
635f22ddfe
Reverted default spacing and font-sizing changes, and extended spaing with em-based variants
2024-06-23 19:15:39 +03:00
mikiher
2186603039
Major bookshelf refactor
2024-06-03 09:04:03 +03:00
mikiher
b244cc8d41
Add LazyBookCard tests
2024-05-10 12:43:33 +03:00
mikiher
057bc1a0c0
Fix series progress to show sum of series book progresses
2024-05-09 07:31:00 +03:00
mikiher
2eb19d46d5
Move test files to a separate directory
2024-04-30 11:30:00 +03:00