* chore: update electron@25.3.0 * ci: update NodeTool version * chore: update @types/node * add more common types to layers checker * chore: update debian dependencies * chore: update rpm dependencies * fix: use legacy dns result order of Node.js * ci: remove deprecated always-auth npm config Refs npm/cli@72a7eeb * chore: update deb and rpm dependencies * chore: update armhf rpm dependencies * chore: update x64 debian dependencies * chore: update x64 rpm dependencies * chore: update electron@25.3.1 * chore: update electron@25.4.0 * chore: bump distro * chore: bump distro --------- Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Integration test
Compile
Make sure to run the following commands to compile and install dependencies:
yarn --cwd test/integration/browser
yarn --cwd test/integration/browser compile
Run (inside Electron)
scripts/test-integration.[sh|bat]
All integration tests run in an Electron instance. You can specify to run the tests against a real build by setting the environment variables INTEGRATION_TEST_ELECTRON_PATH and VSCODE_REMOTE_SERVER_PATH (if you want to include remote tests).
Run (inside browser)
scripts/test-web-integration.[sh|bat] --browser [chromium|webkit] [--debug]
All integration tests run in a browser instance as specified by the command line arguments.
Add the --debug flag to see a browser window with the tests running.
Note: you can enable verbose logging of playwright library by setting a DEBUG environment variable before running the tests (https://playwright.dev/docs/debug#verbose-api-logs)
Debug
All integration tests can be run and debugged from within VSCode (both Electron and Web) simply by selecting the related launch configuration and running them.