Add browser e2e for the online companion, and PR checks #43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/live-e2e-harness"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Nothing exercises the guest site and the console together in a real browser, and PRs run no checks.
Solution
src/playback/fakeSpotify.tsimplements theSpotifytype on a clock.SPOTIFY=fakemakes the console use it.e2e/seed.tsstores a self-signed DJ token and fake-catalog tracks in the console's database, so the tests skip OIDC.test.fixmeuntil the requests panel (Slice 6) lands..forgejo/workflows/pr-validate.yml:validateonnative:bun run test,bun run checkand the module's hook tests.e2eondockerinmcr.microsoft.com/playwright:v1.63.0-noble, mirroring lunacycle.recordPlaystamps real time and two plays could land in the same millisecond.This is Slice 7 (harness) of
projects/2026-09-27-dj-online-companion/plan.md.Testing
bun run test: 195 pass, over three runs in a row.bun run check: clean.bun run e2e: 6 passed and 2 skipped, locally and on a rerun.dockerrunner are available.🤖 Generated with Claude Code