mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-09 10:42:28 +01:00
`whenWorkbenchRestored()` can be answered by the pre-reload document, so the 'Extension Host Restart' tests continued while the window was still reloading. The next test then dispatched its command palette keybinding into a tearing down window, `openQuickAccessWithRetry` exhausted its retries and fell through to `type()`, which failed with a misleading 'set value ... after 20 seconds'. Add `Code#reloadWindow()` which stamps the current document, triggers the reload and waits for a new document before awaiting the workbench restore.
VS Code Automation Package
This package contains functionality for automating various components of the VS Code UI, via an automation "driver" that connects from a separate process. It is used by the smoke tests.