-
Notifications
You must be signed in to change notification settings - Fork 75
Page Object APIs
In order to keep everyone from having to go through the VS Code DOM, which is quite complicated, the framework provides page objects to work with parts of VS Code directly.
See the individual page object pages below for quick usage guide. For complete API reference, you can generate typedoc with npm run doc
and check the docs
folder.
There is also a limited support for handling native dialogs done via virtual key presses. This requires installing the module vscode-extension-tester-native
alongside the main extension tester package.
If you venture into this territory, make sure the application does not lose focus and you are not touching the keyboard while a native dialog is being handled.
Extest now also contributes new commands to open files or folders without using native dialogs. If you simply need either open, we recommend using the commands instead of the open dialog for increased stability. Learn more about opening files and folders here.