vscode/test/integration/browser
2020-02-11 17:18:43 +01:00
..
src Web: run integration tests as part of our product builds (fix #83923) 2020-02-10 11:23:00 +01:00
.gitignore
package.json Web: run integration tests as part of our product builds (fix #83923) 2020-02-10 11:23:00 +01:00
README.md tests - document and enable debug mode for integration tests 2020-02-11 17:18:43 +01:00
tsconfig.json
yarn.lock Web: run integration tests as part of our product builds (fix #83923) 2020-02-10 11:23:00 +01:00

Integration test

Compile

Make sure to run the following command to compile and install dependencies:

yarn --cwd test/integration/browser

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)

resources/server/test/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.