Benjamin Pasero 789c320a1c Replace mkdirp with fs.mkdirSync(path, { recursive: true }) (#228017) | 1 vecka sedan | |
---|---|---|
.. | ||
src | 2fe0527205 chore: update to electron 30 (#215406) | 2 månader sedan |
.gitignore | 4be3cc8846 test - convert web integration to TS | 4 år sedan |
README.md | b5a6aa14a8 feat: switch to npm as default package manager (#226927) | 2 veckor sedan |
package-lock.json | 789c320a1c Replace mkdirp with fs.mkdirSync(path, { recursive: true }) (#228017) | 1 vecka sedan |
package.json | 789c320a1c Replace mkdirp with fs.mkdirSync(path, { recursive: true }) (#228017) | 1 vecka sedan |
tsconfig.json | 84607a2fe2 Fix some always true/false errors in codebase (#223359) | 1 månad sedan |
Make sure to run the following commands to compile and install dependencies:
cd test/integration/browser
npm i
npm run compile
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).
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)
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.