mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
click first element in quick input result list (#13954)
This commit is contained in:
@@ -22,8 +22,7 @@ export class Notebook {
|
||||
async openFile(fileName: string): Promise<void> {
|
||||
await this.quickAccess.openQuickAccess(fileName);
|
||||
await this.quickInput.waitForQuickInputElements(names => names[0] === fileName);
|
||||
await this.code.waitForActiveElement('.quick-input-widget .quick-input-box input');
|
||||
await this.code.dispatchKeybinding('enter');
|
||||
await this.code.waitAndClick('.quick-input-widget .quick-input-list .monaco-list-row');
|
||||
await this.editors.waitForActiveTab(fileName);
|
||||
await this.code.waitForElement('.notebookEditor');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user