提交 d1ebe124 编写于 作者: J Joao Moreno

smoke: dont use monaco-editor.focused

上级 3b06706a
......@@ -24,7 +24,7 @@ export class SettingsEditor {
public async focusEditableSettings(): Promise<void> {
await this.spectron.client.keys(['ArrowDown', 'NULL'], false);
await this.spectron.client.waitForElement(`.editable-preferences-editor-container .monaco-editor.focused`);
await this.spectron.client.waitForActiveElement('.editable-preferences-editor-container .monaco-editor textarea');
await this.spectron.client.keys(['ArrowRight', 'NULL'], false);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册