test(supabase): avatar suite on the sandbox, per-run sandbox passwords

pnpm db:sandbox avatar-e2e runs tests/e2e/avatar-flow.e2e.ts with the real
worker (default mode) on the throwaway stack; the suite now requires its
database container by name, makes both accounts per run and expedites only
its own purges. Throwaway sandbox accounts get random passwords per run.
This commit is contained in:
bchanot committed 2026-11-01 21:02:59 +01:00
1 parent 96b19e5a87
commit 2a84e3702e
8 files changed
+139 -79

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ Chromium (Playwright prints the install command), a stale core module
`pnpm check:all` runs `pnpm e2e:ui` when the pinned Chromium is installed;
otherwise it prints `SKIPPED` with the reason and the install command, and
goes on. `pnpm e2e:shell` needs the sandbox and stays a separate run, like
`pnpm e2e:avatar`. The last lines of a green run state each browser suite:
`pnpm db:sandbox avatar-e2e`. The last lines of a green run state each browser suite:
`PASSED`, `SKIPPED` (environment missing, with the reason) or `NOT RUN`
(`e2e:shell`). A suite that runs and fails stops `check:all` with
`== FAILED: <stage>` and a non-zero exit, never a warning. Both suites keep