diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-19 09:28:23 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-19 09:28:23 +0300 |
| commit | a44ce87c9acd57314d1b147ca447f373cab0aae7 (patch) | |
| tree | e51eb2948d9b3c611666b96935201f87da252ba3 /player-server/test/e2e-web/README.md | |
| parent | 60c8097e9fdb79d6b5ecea73d529803cbf297af0 (diff) | |
Commit license-cleared test media; retire ./testmedia in tests
Add player-server/testdata/media/ with ten public-domain media files:
five LibriVox Aesop's-Fables mp3 chapters (audiobooks/), four NASA
image-library jpgs (images/), and one NASA mp4 short (videos/). Total
~11 MB; each file's source URL and license is documented in
testdata/LICENSES.md and README.md.
Switch every default reference in tests, scenarios, docs, and CI from
MEDIA_ROOT=./testmedia to MEDIA_ROOT=./testdata/media so a fresh clone
can run mage E2E and the Playwright smoke suite without supplying any
external media. The ./testmedia path remains gitignored — it's the
local-only personal library directory.
Verified: 12/12 Playwright e2e-web pass; 18/18 LLM e2e scenarios pass
against the new fixture set.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Diffstat (limited to 'player-server/test/e2e-web/README.md')
| -rw-r--r-- | player-server/test/e2e-web/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/player-server/test/e2e-web/README.md b/player-server/test/e2e-web/README.md index 0141526..59acd33 100644 --- a/player-server/test/e2e-web/README.md +++ b/player-server/test/e2e-web/README.md @@ -32,15 +32,15 @@ The binary resolves the embedded `web/` static asset directory relative to its w directory, so running it from a different location will cause static files to 404. ```sh -# From player-server/ — use testmedia/ as the media library. -MEDIA_ROOT=./testmedia SECURE_COOKIES=false DB_PATH=/tmp/player-e2e.db ./player +# From player-server/ — use testdata/media/ as the media library. +MEDIA_ROOT=./testdata/media SECURE_COOKIES=false DB_PATH=/tmp/player-e2e.db ./player ``` Key environment variables for the test server: | Variable | Value | Reason | |-----------------|----------------|-----------------------------------------------------| -| `MEDIA_ROOT` | `./testmedia` | Provides pre-existing sets so the grid test passes. | +| `MEDIA_ROOT` | `./testdata/media` | Provides pre-existing sets so the grid test passes. | | `SECURE_COOKIES`| `false` | Allows the session cookie over plain HTTP. | | `DB_PATH` | `/tmp/player-e2e.db` | Isolates the test database from production. | |
