code-server/test/e2e
Asher 34c6751bf8
Update VS Code to 1.92.2 (#6941)
* Update VS Code to 1.92.2

* Use server-main.js to load VS Code

It looks like the bootstrap files are now bundled so we can no longer
require them.  We could make them included again, but maybe it is better
to go through the main entrypoint anyway because it includes some nls
stuff which is maybe necessary.

This also fixes what looks like a bug where we could create two servers
if two requests came in.  I am not sure what the practical consequences
of that would be, but it will no longer do that.

* Drop es2020 patch

Unfortunately, VS Code will not load with this.  It seems to be because
`this` is being used in static properties, and it becomes `void 0` for
some reason under the es2020 target.  For example:

  static PREFIX_BY_CATEGORY = `${this.PREFIX}${this.SCOPE_PREFIX}`;

becomes

  AbstractGotoSymbolQuickAccessProvider.PREFIX_BY_CATEGORY = `${(void 0).PREFIX}${(void 0).SCOPE_PREFIX}`;

Which, obviously, will not work.

Older versions of Safari (and maybe other browsers) are likely affected.

* Fix display language

* Update Playwright

I think maybe because of the dropped es2020 patch that Webkit is now
failing because it is too old.

* Do not wait for networkidle in e2e tests

I am not sure what is going on but some tests on Webkit are timing out
and it seems the page is loaded but something is still trying to
download.  Not good, but for now try to at least get the tests passing.
2024-08-15 21:33:21 -08:00
..
extensions/test-extension Remove display language test 2024-07-08 17:50:08 -08:00
models Update VS Code to 1.92.2 (#6941) 2024-08-15 21:33:21 -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
downloads.test.ts Disable "Show Local" button, add --disable-file-uploads option and add file operation trace level logs (#6557) 2023-12-07 12:10:22 -09: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 Run formatter 2023-09-11 09:27:28 -08:00
terminal.test.ts Set session socket into environment variable (#6282) 2023-06-21 22:47:01 -08:00
uploads.test.ts Disable "Show Local" button, add --disable-file-uploads option and add file operation trace level logs (#6557) 2023-12-07 12:10:22 -09:00
webview.test.ts feat: add test for markdown webview (#5740) 2022-11-03 15:08:12 -07:00