test(e2e): make the seeded account admin + cover admin nav pages

The E2E account is now admin (matching the real primary user), so the nav spec
also drives scheduler/config/users/audit — exercising the render ternary's admin
branches, which the upcoming PageShell refactor will restructure.
This commit is contained in:
2026-07-18 02:52:54 +02:00
parent c5a7296306
commit 833aee07d4
3 changed files with 10 additions and 5 deletions
+4 -2
View File
@@ -30,8 +30,10 @@ once, sharing the session via `e2e/.auth/state.json` (git-ignored).
## Account & fixture
Tests run as a dedicated, **non-demo** account `e2e@siftlode.local` (never a real account), reset to
a deterministic baseline every run by [`scripts/e2e_seed.py`](../../scripts/e2e_seed.py) (run
Tests run as a dedicated, **non-demo admin** account `e2e@siftlode.local` (never a real account;
admin so the suite can reach the admin-only pages / render branches, matching the real primary
user), reset to a deterministic baseline every run by
[`scripts/e2e_seed.py`](../../scripts/e2e_seed.py) (run
in-container so it reuses the app's models + argon2 hasher): the top-3 organic channels subscribed,
one in-progress + one watched + one saved video, prefs pinned to `language: en`. Credentials come
from `E2E_EMAIL` / `E2E_PASSWORD` (local-only defaults). Override the container name with