code-server/test
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
..
e2e Update VS Code to 1.92.2 (#6941) 2024-08-15 21:33:21 -08:00
integration Fix extension installation test 2024-04-05 17:39:21 -08:00
scripts Update script tests 2024-08-01 11:31:44 -08:00
unit Update JSON parse error matcher 2024-06-21 09:52:42 -08:00
utils Update dependencies and force-update qs (#6440) 2023-09-21 16:13:34 -08:00
package.json Update VS Code to 1.92.2 (#6941) 2024-08-15 21:33:21 -08:00
playwright.config.ts fix: add handle for resolveExternalUri (#5624) 2022-10-14 16:08:58 +00:00
tsconfig.json feat(ci): refactor build workflow (#5572) 2022-09-22 12:33:32 -07:00
yarn.lock Update VS Code to 1.92.2 (#6941) 2024-08-15 21:33:21 -08:00