You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: e2e/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,7 @@ None are required; each one only switches on when set. `.env` is **not** loaded
123
123
|`E2E_PROXY`|[`fixtures.ts`](./fixtures.ts), [`agent-fixtures.ts`](./agent-fixtures.ts)| Chromium proxy for the launched context. Falls back to `https_proxy` / `http_proxy` / `HTTPS_PROXY` / `HTTP_PROXY`. Needed for the non-hermetic specs above on a restricted network. |
124
124
|`E2E_RECORD_VIDEO_DIR`|[`fixtures.ts`](./fixtures.ts)**only**| Records video into that directory. Off by default. Point it at your scenario directory, e.g. `e2e/scratch/<scenario>/videos`. `server-fixtures.ts` / `agent-fixtures.ts`, and any spec that copies a fixture inline instead of importing it, do **not** honour this. |
125
125
|`E2E_ONEDRIVE_TOKEN_FILE`| local scratch scripts only — **not referenced by any committed file**| Path to a OneDrive token JSON for real-provider cloud-sync verification, conventionally defaulting to `~/.config/scriptcat/e2e-onedrive-token.json`. Real account, real side effects — only with authorization. Recorded here because nothing in-tree can tell you it exists. |
126
-
|`E2E_HEADED`|`headlessArgs()` in [`fixtures.ts`](./fixtures.ts), imported by every other fixture |Launches a **visible** window instead of the default `--headless=new`. For watching a run by eye; leave it unset otherwise. `session.mjs --headed` does the same for a session. |
126
+
|`E2E_HEADED`|`headlessArgs()` in [`fixtures.ts`](./fixtures.ts), imported by every other fixture |Set to `1`, `true`, or `yes` to launch a **visible** window instead of the default `--headless=new`; unset it (or use `0`/`false`) otherwise. `session.mjs --headed` does the same for a session. |
127
127
|`CI`| every fixture, plus [`playwright.config.ts`](../playwright.config.ts)| Disables the Chromium sandbox, and switches Playwright to 1 retry / 2 workers / HTML reporter / `forbidOnly`. Set by GitHub Actions; don't set it by hand. |
128
128
129
129
Secrets never belong in a committed spec or in `report.md` — see the redaction rules in
0 commit comments