diff --git a/BACKLOG.md b/BACKLOG.md index 5ac444d..f9e6182 100644 --- a/BACKLOG.md +++ b/BACKLOG.md @@ -51,7 +51,7 @@ focus colors, always-focusable Sign in with inline validation. Deferred from rev - Release build: enable `minifyEnabled` + R8 rules, decide on signing, versioning scheme. - Verify `searchTarget=local` channel search behaves well for instances without federation; consider `search/video-channels` endpoint as an alternative. -- (Verified 2026-10-10 via tvbot account) history subscriptions + watching endpoints +- (Verified 2026-10-10 via the test account) history subscriptions + watching endpoints behave as documented; upload seeding uses **flat multipart form fields** on `/api/v1/videos/upload` (legacy), not a metadata JSON part — only relevant for seeding test data, the app itself doesn't upload. diff --git a/TESTS.md b/TESTS.md index 2d72f54..4f5dd87 100644 --- a/TESTS.md +++ b/TESTS.md @@ -13,14 +13,15 @@ when everything passes (playback, focus and UI states are untestable by script). ## Test environment / prerequisites - Instance: any PeerTube (baseline: , v8.3.1, media on R2 object storage). -- Account: `tvbot@jeena.net` (sops: `~/.agents/secrets/jtube.env`). Credentials resolved +- Account: a dedicated test account (credentials via sops from `~/.agents/secrets/jtube.env`). + Credentials resolved at login; **do not store the password in the device during tests** — it's typed once on the setup screen (which is exactly feature 0). -- Seeded content (tagged `jtube-tv-test`, channel `tvbots`): +- Seeded content (tagged `jtube-tv-test`, in the test account's channel): - `JTube TV Test 1 - Sintel Teaser` **Private** (~52 s) - `JTube TV Test 2 - Caminandes Llamigos` **Private** (~2:30) - `JTube TV Test 3 - Cosmos Laundromat` **Private** (~50 s) - - tvbot has watched entries in server history (public + test videos). + - the test account has watched entries in server history (public + test videos). - Subscription: `mediterranean_homestead@lone.earth` (remote channel — exercises federation in the subscription feed). - Public content: instance's own local videos (≥ 3000). @@ -57,7 +58,7 @@ APK version + device. - [ ] T9 Long video title truncates (2 lines max) without breaking the row layout; long channel names truncate. ### 2 — Channels -- [ ] T10 "Channels" lists account's own channels (`tvbots`), avatar when present, video count. +- [ ] T10 "Channels" lists the account's own channels, avatar when present, video count. - [ ] T11 Click channel → that channel's videos list; open and play one; back returns to the channel's list (not the channels screen lost state). - [ ] T12 Remote channel via direct handle is out of MVP scope, but local-channel search (when implemented) must be re-tested: `searchTarget=local` ignores federated results.