Skip to content

Commit

Permalink
Fix rename test
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
  • Loading branch information
RomanNikitenko committed Jul 16, 2020
1 parent 931df19 commit 9331811
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/api-tests/src/typescript.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,8 @@ module.exports = (port, host, argv) => Promise.resolve()
keybindings.dispatchKeyDown('Enter', input);

await renaming;
await waitForAnimation(() => !(document.activeElement instanceof HTMLInputElement));

assert.isTrue(contextKeyService.match('editorTextFocus'));
assert.isFalse(contextKeyService.match('renameInputVisible'));

Expand Down

0 comments on commit 9331811

Please sign in to comment.