diff --git a/Accounts.md b/Accounts.md index 612022e..bbc9b65 100644 --- a/Accounts.md +++ b/Accounts.md @@ -121,10 +121,10 @@ is `data/sessions/`. Registration (#178) and shared projects (#181) are follow-u ## What the check tools do Every seed, smoke and e2e run signs in as `e2e` first and sends the same session cookie a browser -would (`tools/lib/auth.mjs`). The password comes from `GAME_MAKER_E2E_PASSWORD` or from +would (`tools/lib/auth.mjs`). The password comes from `FEUERWERK_E2E_PASSWORD` or from `data/e2e-password.txt`, which is git-ignored — CI writes its own on a fresh checkout and makes the account with it (`tools/ci/serve.sh`). `e2e-admin` works the same way, with -`GAME_MAKER_E2E_ADMIN_PASSWORD` or `data/e2e-admin-password.txt`. +`FEUERWERK_E2E_ADMIN_PASSWORD` or `data/e2e-admin-password.txt`. The browser in an e2e run is handed that session as a cookie, so it starts on the editor. The sign-in screen itself is driven by hand in step 45, the one step that sees it. Step 49 signs the diff --git a/Development.md b/Development.md index 1ba027d..9979adc 100644 --- a/Development.md +++ b/Development.md @@ -20,7 +20,7 @@ php tests/php/snapshots.test.php # the snapshot sto php tests/php/releases.test.php # the release store (#266), the same way php tests/php/files.test.php # uploaded files in a folder per account (#344), the same way php tests/php/videos.test.php # the video store, its queue and the worker (#402), with the - # real ffmpeg: the CI image and game-maker-video have it + # real ffmpeg: the CI image and feuerwerk-video have it node tools/seed-e2e.mjs && node tools/e2e.mjs # 2065 editor checks, screenshots in /tmp/gm-e2e-*.png GM_STEPS=20 node tools/e2e.mjs # or 1-12, or 6,20 — a subset while working on one step ./e2e.sh start [GM_STEPS] # the same run detached, see below @@ -34,7 +34,7 @@ node tools/seed-e2e.mjs && node tools/perf-shaders.mjs # what a shader co **Every tool signs in first.** Since #177 the API answers 401 without a session, so the seeds, the smokes and the e2e run log in as the `e2e` account (`tools/lib/auth.mjs`) and send the cookie a browser would; the e2e browser is handed the same session over CDP. The password comes from -`GAME_MAKER_E2E_PASSWORD` or from the git-ignored `data/e2e-password.txt`. A machine that has +`FEUERWERK_E2E_PASSWORD` or from the git-ignored `data/e2e-password.txt`. A machine that has neither fails with a message saying exactly that — see [Accounts](Accounts). **A run needs a working GPU.** An idle editor page keeps rendering a picture that never changes, and @@ -62,13 +62,13 @@ integration*), so locally take only what the change needs: the gate, plus the st roughly 0.8 of the four cores of this box (60% renderer, 18% GPU process, load ~1.0), but four minutes of waiting buys nothing the push does not give. -**`./e2e.sh start` runs the suite detached**, in a transient `game-maker-e2e.service`, and returns at +**`./e2e.sh start` runs the suite detached**, in a transient `feuerwerk-e2e.service`, and returns at once; output goes to `logs/e2e-_