@theia/api-tests 1.36.0-next.21 → 1.36.0-next.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@theia/api-tests",
3
- "version": "1.36.0-next.21+be025fcc0",
3
+ "version": "1.36.0-next.23+c7ca0d55a",
4
4
  "description": "Theia API tests",
5
5
  "dependencies": {
6
- "@theia/core": "1.36.0-next.21+be025fcc0"
6
+ "@theia/core": "1.36.0-next.23+c7ca0d55a"
7
7
  },
8
8
  "license": "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0",
9
9
  "repository": {
@@ -20,5 +20,5 @@
20
20
  "publishConfig": {
21
21
  "access": "public"
22
22
  },
23
- "gitHead": "be025fcc0dc20d3ee81bd882eac4d6c398093d33"
23
+ "gitHead": "c7ca0d55a5300af3becf92eadcf290da2f568a3a"
24
24
  }
@@ -57,7 +57,7 @@ describe('TypeScript', function () {
57
57
  const pluginViewRegistry = container.get(PluginViewRegistry);
58
58
 
59
59
  const typescriptPluginId = 'vscode.typescript-language-features';
60
- const referencesPluginId = 'ms-vscode.references-view';
60
+ const referencesPluginId = 'vscode.references-view';
61
61
  const eslintPluginId = 'dbaeumer.vscode-eslint';
62
62
  /** @type Uri.URI */
63
63
  const rootUri = workspaceService.tryGetRoots()[0].resource;
@@ -199,8 +199,17 @@ describe('TypeScript', function () {
199
199
  async function closePeek(editor) {
200
200
  await assertPeekOpened(editor);
201
201
 
202
+ console.log('closePeek() - Attempt to close by sending "Escape"');
202
203
  keybindings.dispatchKeyDown('Escape');
203
- await waitForAnimation(() => !contextKeyService.match('listFocus'));
204
+ await waitForAnimation(() => {
205
+ const isClosed = !contextKeyService.match('listFocus');
206
+ if (!isClosed) {
207
+ console.log('...');
208
+ keybindings.dispatchKeyDown('Escape');
209
+ return false;
210
+ }
211
+ return true;
212
+ });
204
213
  assert.isTrue(contextKeyService.match('editorTextFocus'));
205
214
  assert.isFalse(contextKeyService.match('referenceSearchVisible'));
206
215
  assert.isFalse(contextKeyService.match('listFocus'));