lilith-platform.live/deployments/@domains/quinn.admin/package.json
Natalie dda6f00bd5 test(quinn.admin/e2e): ephemeral-DB smoke gate against consolidated API
Rework the admin smoke gate to stand on its own instead of a shared, pre-seeded
DB that was unreachable from plum and collision-prone across runs:

- global-setup provisions a uniquely-named ephemeral DB (quinn_admin_e2e_<epoch>_<hex>)
  on a real Postgres (black.lan:25435 default), boots @features/api (the bundle
  deploy.sh ships) under bun in internal mode so it migrates from scratch, and
  drops the DB on teardown; a bounded startup sweep reaps orphans from crashed
  runs. QUINN_ADMIN_E2E_DB_URL overrides to a pre-existing DB.
- proxy-server mirrors prod nginx: /api/v2/<x> → /<x>; smoke specs hit the API's
  real surfaces (/health json, /www + /engine tour-stops, 401 without token).
- add infrastructure/scripts/plum-e2e-db.sh to provision an isolated PG16 on
  plum:25435 for local runs; add postgres devDep to the e2e package.
2026-06-21 15:08:09 -05:00

15 lines
311 B
JSON

{
"name": "@lilith/quinn-admin-deploy",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui"
},
"devDependencies": {
"@playwright/test": "^1.50.0",
"postgres": "^3.4.9",
"tsx": "^4.19.0"
}
}