Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

docs(e2e): show how E2E_PORT runs the Playwright suite beside someone else's :3000 server

nirholas958b10969cd7
diff --git a/tests/e2e/README.md b/tests/e2e/README.md
index ec682106e..d7fc5fcb5 100644
--- a/tests/e2e/README.md
+++ b/tests/e2e/README.md
@@ -30,6 +30,18 @@ npm run dev # leave running on :3000 in another shell
npx playwright test # reuses the running server
```
+### Run on another port
+
+`:3000` is often someone else's dev server, and a run that reuses it tests their
+working tree, not yours. `E2E_PORT` moves the whole run: the base URL, the server
+Playwright starts (`npx vite --port <port> --strictPort`) and the specs that open
+a browser outside the fixture.
+
+```bash
+E2E_PORT=3107 npx playwright test # starts and owns its own server on :3107
+E2E_PORT=3107 npm test # vitest, then this same run
+```
+
Do not wait on `networkidle` in specs — the app holds long-lived connections
(HMR socket, live feeds). Wait on concrete DOM/state instead.