test(supabase): avatar e2e on the sandbox only, per-session seed secret

pnpm e2e:avatar is now an alias of pnpm db:sandbox avatar-e2e and the DEV
script scripts/avatar-e2e.sh is removed; the suite fails on any target but
the sandbox gateway and database; an occupied port 57800 stops the run before
anything starts. The sandbox replaces the seed accounts' DEV password by a
per-session secret.
This commit is contained in:
bchanot committed 2026-11-01 22:55:23 +01:00
1 parent 26e4b1b0ee
commit cdd43ac431
16 files changed
+64 -100

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
import { defineConfig } from 'vitest/config'
/**
* Real-stack end-to-end suite (tests/e2e/*.e2e.ts): needs the local Supabase
* stack and the worker container (scripts/avatar-e2e.sh starts both sides).
* Real-stack end-to-end suite (tests/e2e/*.e2e.ts): the throwaway stack and the
* worker container, both started by `pnpm e2e:avatar` (scripts/db-sandbox.sh).
* Kept out of the default `test:run` include on purpose.
*/
export default defineConfig({