code-server/test
Asher 9087e0c091
fix: invoking code-server in integrated terminal (#5360)
* Include bin scripts for all platforms

These will get symlinked as part of the postinstall.  These scripts
provide everything ours does inside the integrated terminal plus more.

* Improve OS detection

Specifically for Windows although we do not yet support Windows.

Also standardize the duplicate arch functions since they had drifted
from each other bit.

* Remove duplicate asar symlink

Since standalone releases run the postinstall they will get the asar
symlink there.  That means the symlink will not exist for the npm
package and we will not need to ignore it.

The symlink portion is split out so it can be re-used for other
symlinks (for example linking bin scripts).

* Add symlinks to bin scripts

* Add test for opening a file from the terminal

* Add global Playwright timeout

Otherwise it will exceed the Actions timeout and get rudely killed
without any output.

* Make sed work on macOS

* Fix Node path in bin scripts

* Disable shellcheck expansion error

* Make scripts executable

* Remove .bak files created by sed

* Include Code build script in cache hash

Otherwise if we change the script it will not rebuild Code.

* Make sure the terminal opens

The selector was timing out even though it matched more than one element
but matching on the focused one appears to work.

In addition add a loop so it can keep trying to open the terminal
if something goes wrong with the focus.
2022-08-04 16:03:28 +00:00
..
e2e fix: invoking code-server in integrated terminal (#5360) 2022-08-04 16:03:28 +00:00
integration refactor: switch to codecov-uploader GitHub Action (#5303) 2022-06-28 10:04:35 -07:00
scripts feat(brew-bump): add check for cleanup step 2021-09-28 16:07:01 -07:00
unit chore: update Code to 1.68 (#5263) 2022-06-21 21:51:46 +00:00
utils refactor: move integration tests to Jest (#5275) 2022-06-24 16:33:38 +00:00
package.json refactor: move integration tests to Jest (#5275) 2022-06-24 16:33:38 +00:00
playwright.config.ts feat: proxy URI environment variable (#4681) 2022-01-04 15:02:25 -06:00
tsconfig.json refactor: move jest around and add code coverage 2021-01-22 14:18:45 -07:00
yarn.lock refactor: move integration tests to Jest (#5275) 2022-06-24 16:33:38 +00:00