summaryrefslogtreecommitdiff
path: root/player-server/test/e2e-llm/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-18 23:08:46 +0300
committerPaul Buetow <paul@buetow.org>2026-05-18 23:08:46 +0300
commita9b75513661cb9196cb6bd614f56c4bf09c970b5 (patch)
treefc4fb08d1549d4f9e04ea5c5398298d22e68f40a /player-server/test/e2e-llm/README.md
parent687837c4633ff5567618a9042a06ccc77d5e178f (diff)
Fix Playwright race condition in admin-gate test
The admin check test registered waitForResponse after page.goto(), so the 403 from API.users() (fired at SPA init) could arrive before the listener was active — causing a 10 s timeout. Fix: inject the session cookie and register the response listener before navigation, then await the promise after goto(). Also corrects the URL filter: the SPA calls /api/admin/users (not /api/v1/admin/users) so the pattern now matches the actual request. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'player-server/test/e2e-llm/README.md')
0 files changed, 0 insertions, 0 deletions