geesawra.industries/hydraulophone
An unofficial YouTube Music app for iPhone, iPad, and Mac.
0
0
# Deferred test brief — playback queue restoration
Automated tests are deferred at the owner's request. Do not add or run them
until authorized.
- Persist and restore source order, current playback order, current occurrence
ID, shuffle, and repeat mode, including duplicate songs represented by
distinct queue occurrences.
- Restore the current track and saved position in a paused state. Confirm no
stream request or audio starts until Play is pressed.
- On Play, resolve a new stream rather than using a persisted media URL, then
seek to the saved position. If the saved position is at or beyond the known
track duration, start from zero.
- Confirm queue structure is saved after enqueue, play-next, reorder, removal,
shuffle, repeat, selection, next/previous, and gapless transition. Confirm
position saves after seek and pause, periodically during playback, and when
the app resigns active.
- Confirm Stop and sign-out clear the snapshot. Confirm fixture and injected
AppModel instances do not read or mutate the production snapshot.
- Feed malformed, old-version, over-limit, duplicate-ID, and inconsistent
archives; ignore and clear invalid data without crashing. Check that an
oversized archive is not written.
- Inspect persisted payloads: allow catalog `Song` metadata only; ensure stream
URLs, cookies, authorization, and other session credentials never appear.
- Confirm a missing or deleted track can fail through the existing typed
playback error path while the restored queue remains inspectable/recoverable.