From a44ce87c9acd57314d1b147ca447f373cab0aae7 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 19 May 2026 09:28:23 +0300 Subject: Commit license-cleared test media; retire ./testmedia in tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- player-server/test/e2e-web/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'player-server/test/e2e-web/README.md') 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. | -- cgit v1.2.3