diff --git a/CHANGELOG.md b/CHANGELOG.md index 459ea9036d021..611658b8b31b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ## not yet released - [plugin] stub multiDocumentHighlightProvider proposed API [#13248](https://github.com/eclipse-theia/theia/pull/13248) - contributed on behalf of STMicroelectronics +- [builtins] update built-ins to version 1.83.1 [#13298](https://github.com/eclipse-theia/theia/pull/13298) - contributed on behalf of STMicroelectronics - [terminal] rename terminal.sendText() parameter from addNewLine to shouldExecute [#13236](https://github.com/eclipse-theia/theia/pull/13236) - contributed on behalf of STMicroelectronics - [terminal] update terminalQuickFixProvider proposed API according to vscode 1.85 version [#13240](https://github.com/eclipse-theia/theia/pull/13240) - contributed on behalf of STMicroelectronics - [core] added preference 'workbench.tree.indent' to control the indentation in the tree widget [#13179](https://github.com/eclipse-theia/theia/pull/13179) - contributed on behalf of STMicroelectronics diff --git a/examples/api-tests/src/typescript.spec.js b/examples/api-tests/src/typescript.spec.js index c4fe77e9a098f..c399bdbda5f73 100644 --- a/examples/api-tests/src/typescript.spec.js +++ b/examples/api-tests/src/typescript.spec.js @@ -19,6 +19,7 @@ describe('TypeScript', function () { this.timeout(30_000); const { assert } = chai; + const { timeout } = require('@theia/core/lib/common/promise-util'); const Uri = require('@theia/core/lib/common/uri'); const { DisposableCollection } = require('@theia/core/lib/common/disposable'); @@ -700,9 +701,7 @@ SPAN { return !!node && node.style.visibility !== 'hidden'; }; - assert.isFalse(lightBulbVisible(), 'Failed at assert 2'); - await waitForAnimation(() => lightBulbVisible()); - + await timeout(1000); // quick fix is always available: need to wait for the error fix to become available. await commands.executeCommand('editor.action.quickFix'); const codeActionSelector = '.codeActionWidget'; assert.isFalse(!!document.querySelector(codeActionSelector), 'Failed at assert 3 - codeActionWidget should not be visible'); @@ -721,20 +720,9 @@ SPAN { assert.isTrue(lightBulbVisible(), 'Failed at assert 4'); keybindings.dispatchKeyDown('Enter'); console.log('Waiting for confirmation that QuickFix has taken effect'); - await waitForAnimation(() => { - const quickFixHasTakenEffect = !lightBulbVisible(); - if (!quickFixHasTakenEffect) { - console.log('...'); - return false; - } - return true; - }, 5000, 'Quickfix widget has not been dismissed despite attempts to accept suggestion'); - await waitForAnimation(() => currentChar() === 'd', 5000, 'Failed to detect expected selected char: "d"'); + await waitForAnimation(() => currentChar() === 'd', 10000, 'Failed to detect expected selected char: "d"'); assert.equal(currentChar(), 'd', 'Failed at assert 5'); - - await waitForAnimation(() => !lightBulbVisible()); - assert.isFalse(lightBulbVisible(), 'Failed at assert 6'); }); it('editor.action.formatDocument', async function () { diff --git a/package.json b/package.json index 250eb85206fa3..df4da5f8cce40 100644 --- a/package.json +++ b/package.json @@ -103,10 +103,10 @@ ], "theiaPluginsDir": "plugins", "theiaPlugins": { - "eclipse-theia.builtin-extension-pack": "https://open-vsx.org/api/eclipse-theia/builtin-extension-pack/1.79.0/file/eclipse-theia.builtin-extension-pack-1.79.0.vsix", + "eclipse-theia.builtin-extension-pack": "https://open-vsx.org/api/eclipse-theia/builtin-extension-pack/1.83.1/file/eclipse-theia.builtin-extension-pack-1.83.1.vsix", "EditorConfig.EditorConfig": "https://open-vsx.org/api/EditorConfig/EditorConfig/0.16.6/file/EditorConfig.EditorConfig-0.16.6.vsix", "dbaeumer.vscode-eslint": "https://open-vsx.org/api/dbaeumer/vscode-eslint/2.4.2/file/dbaeumer.vscode-eslint-2.4.2.vsix", - "ms-vscode.js-debug": "https://open-vsx.org/api/ms-vscode/js-debug/1.78.0/file/ms-vscode.js-debug-1.78.0.vsix", + "ms-vscode.js-debug": "https://open-vsx.org/api/ms-vscode/js-debug/1.83.1/file/ms-vscode.js-debug-1.83.1.vsix", "ms-vscode.js-debug-companion": "https://open-vsx.org/api/ms-vscode/js-debug-companion/1.1.2/file/ms-vscode.js-debug-companion-1.1.2.vsix" }, "theiaPluginsExcludeIds": [