fix smoke tests
This commit is contained in:
parent
ef6d44f53a
commit
1a9df6127c
|
@ -22,8 +22,8 @@ export class KeybindingsEditor {
|
||||||
await this.code.waitForSetValue(SEARCH_INPUT, `@command:${command}`);
|
await this.code.waitForSetValue(SEARCH_INPUT, `@command:${command}`);
|
||||||
|
|
||||||
const commandTitle = commandName ? `${commandName} (${command})` : command;
|
const commandTitle = commandName ? `${commandName} (${command})` : command;
|
||||||
await this.code.waitAndClick(`.keybindings-table-container .monaco-list-row .command span.monaco-highlighted-label[title="${commandTitle}"]`);
|
await this.code.waitAndClick(`.keybindings-table-container .monaco-list-row .command[title="${commandTitle}"]`);
|
||||||
await this.code.waitForElement(`.keybindings-table-container .monaco-list-row.focused.selected .command span.monaco-highlighted-label[title="${commandTitle}"]`);
|
await this.code.waitForElement(`.keybindings-table-container .monaco-list-row.focused.selected .command[title="${commandTitle}"]`);
|
||||||
await this.code.dispatchKeybinding('enter');
|
await this.code.dispatchKeybinding('enter');
|
||||||
|
|
||||||
await this.code.waitForActiveElement('.defineKeybindingWidget .monaco-inputbox input');
|
await this.code.waitForActiveElement('.defineKeybindingWidget .monaco-inputbox input');
|
||||||
|
|
Loading…
Reference in a new issue