diff --git a/wiki/OpenDialog.md b/wiki/OpenDialog.md deleted file mode 100644 index fd72aadd5..000000000 --- a/wiki/OpenDialog.md +++ /dev/null @@ -1,21 +0,0 @@ -/!\ DEPRECATED - -Dialog for opening/adding files and folders into workspace. - -#### Initialize -Since the dialogs are different on each system, you will need to initialize the dialog through ```DialogHandler```. -```typescript -import { DialogHandler } from 'vscode-extension-tester-native'; -... -const dialog = await DialogHandler.getOpenDialog(); -``` - -#### Select a Folder -```typescript -// navigate to a folder/file -await dialog.selectPath('/my/awesome/folder'); -// confirm -await dialog.confirm(); -// or cancel -await dialog.cancel(); -``` \ No newline at end of file diff --git a/wiki/Page-Object-APIs.md b/wiki/Page-Object-APIs.md index 0a4e8a465..605d18adf 100644 --- a/wiki/Page-Object-APIs.md +++ b/wiki/Page-Object-APIs.md @@ -1,6 +1,6 @@ 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. +See the individual page object pages below for quick usage guide. ##### Activity Bar - [[ActionsControl]] @@ -58,13 +58,3 @@ See the individual page object pages below for quick usage guide. For complete A - [[Workbench]] - [[Input]] - [[DebugToolbar]] - -*** - -##### Native Dialogs -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 ExTester 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. - - [[OpenDialog]] - -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](https://github.com/redhat-developer/vscode-extension-tester/wiki#opening-files-and-folders).