Reference smoke tests never test another project's server; skills refreshed

- reference/playwright.config.ts: reuseExistingServer only with E2E_REUSE_SERVER=1.
  Playwright starts the built site itself on E2E_BASE_URL's port (default 3100) and
  fails when the port is taken — before, a dev server of another project on 3100
  (intecion.com's) was tested instead. CI is unchanged: it starts nothing before
  test:e2e. README's production check follows.
- reference/.agents/skills refreshed after the seed-exit-guard merge (ipal-form and
  ipal-site seed templates, ipal-reference); INDEX.md regenerated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-29 19:24:05 +01:00
co-authored by Claude Opus 5.5
parent 03515c66c4
commit e715b5720d
7 changed files with 25 additions and 10 deletions
+3 -2
View File
@@ -17,8 +17,9 @@ cp .env.example .env # then fill PAYLOAD_SECRET; DATABASE
pnpm seed # demo + base content, every language
pnpm dev # http://localhost:3000/pl
```
Production check: `pnpm build && ALLOW_LOCAL_MEDIA=1 PORT=3100 pnpm start`, then
`pnpm payload run e2e/create-test-admin.ts && pnpm test:e2e`.
Production check: `pnpm build && pnpm payload run e2e/create-test-admin.ts && ALLOW_LOCAL_MEDIA=1 pnpm test:e2e`
(Playwright starts the built site on port 3100 itself; another port: `E2E_BASE_URL=http://localhost:3200`, built with
the same `NEXT_PUBLIC_SERVER_URL`; a server you started yourself: `E2E_REUSE_SERVER=1`).
## What is where
| Convention | Files |