diff --git a/examples/api-tests/src/typescript.spec.js b/examples/api-tests/src/typescript.spec.js index de17449796150..0591d81d748fc 100644 --- a/examples/api-tests/src/typescript.spec.js +++ b/examples/api-tests/src/typescript.spec.js @@ -57,7 +57,7 @@ describe('TypeScript', function () { const pluginViewRegistry = container.get(PluginViewRegistry); const typescriptPluginId = 'vscode.typescript-language-features'; - const referencesPluginId = 'ms-vscode.references-view'; + const referencesPluginId = 'vscode.references-view'; const eslintPluginId = 'dbaeumer.vscode-eslint'; /** @type Uri.URI */ const rootUri = workspaceService.tryGetRoots()[0].resource; @@ -199,8 +199,17 @@ describe('TypeScript', function () { async function closePeek(editor) { await assertPeekOpened(editor); + console.log('closePeek() - Attempt to close by sending "Escape"'); keybindings.dispatchKeyDown('Escape'); - await waitForAnimation(() => !contextKeyService.match('listFocus')); + await waitForAnimation(() => { + const isClosed = !contextKeyService.match('listFocus'); + if (!isClosed) { + console.log('...'); + keybindings.dispatchKeyDown('Escape'); + return false; + } + return true; + }); assert.isTrue(contextKeyService.match('editorTextFocus')); assert.isFalse(contextKeyService.match('referenceSearchVisible')); assert.isFalse(contextKeyService.match('listFocus')); diff --git a/package.json b/package.json index ac9a632d8f02b..7f499f08789b8 100644 --- a/package.json +++ b/package.json @@ -100,10 +100,9 @@ "theiaPluginsDir": "plugins", "theiaPlugins": { "vscode.markdown-language-features": "https://open-vsx.org/api/vscode/markdown-language-features/1.64.2/file/vscode.markdown-language-features-1.64.2.vsix", - "eclipse-theia.builtin-extension-pack": "https://open-vsx.org/api/eclipse-theia/builtin-extension-pack/1.66.2/file/eclipse-theia.builtin-extension-pack-1.66.2.vsix", + "eclipse-theia.builtin-extension-pack": "https://open-vsx.org/api/eclipse-theia/builtin-extension-pack/1.70.2/file/eclipse-theia.builtin-extension-pack-1.70.2.vsix", "EditorConfig.EditorConfig": "https://open-vsx.org/api/EditorConfig/EditorConfig/0.14.4/file/EditorConfig.EditorConfig-0.14.4.vsix", - "dbaeumer.vscode-eslint": "https://open-vsx.org/api/dbaeumer/vscode-eslint/2.1.20/file/dbaeumer.vscode-eslint-2.1.20.vsix", - "ms-vscode.references-view": "https://open-vsx.org/api/ms-vscode/references-view/0.0.89/file/ms-vscode.references-view-0.0.89.vsix" + "dbaeumer.vscode-eslint": "https://open-vsx.org/api/dbaeumer/vscode-eslint/2.1.20/file/dbaeumer.vscode-eslint-2.1.20.vsix" }, "theiaPluginsExcludeIds": [ "ms-vscode.js-debug-companion",