code-server/test/e2e
Asher 5c19962930
Set session socket into environment variable (#6282)
* Avoid spawning code-server with --reuse-window and --new-window

These flags mean the user explicitly wants to open in an existing
instance so if the socket is down it should error rather than try to
spawn code-server normally.

* Set session socket into environment variable

While I was at it I added a CLI flag to override the default.  I also
swapped the default to --user-data-dir.

The value is set on an environment variable so it can be used by the
extension host similar to VSCODE_IPC_HOOK_CLI.

* Add e2e test for opening files externally
2023-06-21 22:47:01 -08:00
..
extensions fix: add handle for resolveExternalUri (#5624) 2022-10-14 16:08:58 +00:00
models Set session socket into environment variable (#6282) 2023-06-21 22:47:01 -08:00
baseFixture.ts feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
codeServer.test.ts add CLI argument `--disable-workspace-trust` (#5638) 2022-10-13 19:57:04 +00:00
displayLang.test.ts add CLI argument `--disable-workspace-trust` (#5638) 2022-10-13 19:57:04 +00:00
downloads.test.ts add CLI argument `--disable-workspace-trust` (#5638) 2022-10-13 19:57:04 +00:00
extensions.test.ts feat: enable forwarded ports using built-in proxy (#5673) 2022-10-24 18:11:44 +00:00
github.test.ts add CLI argument `--disable-workspace-trust` (#5638) 2022-10-13 19:57:04 +00:00
login.test.ts add CLI argument `--disable-workspace-trust` (#5638) 2022-10-13 19:57:04 +00:00
logout.test.ts add CLI argument `--disable-workspace-trust` (#5638) 2022-10-13 19:57:04 +00:00
openHelpAbout.test.ts add CLI argument `--disable-workspace-trust` (#5638) 2022-10-13 19:57:04 +00:00
routes.test.ts chore: upgrade Code to 1.74.1 (#5909) 2022-12-22 10:25:28 -07:00
terminal.test.ts Set session socket into environment variable (#6282) 2023-06-21 22:47:01 -08:00
webview.test.ts feat: add test for markdown webview (#5740) 2022-11-03 15:08:12 -07:00