mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Log active element when notebook smoke test fails (#13724)
* add error log for active element * fix active element selector * await isActiveElement call * call waitforactiveleement
This commit is contained in:
@@ -22,6 +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.editors.waitForActiveTab(fileName);
|
||||
await this.code.waitForElement('.notebookEditor');
|
||||
|
||||
Reference in New Issue
Block a user