mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
wait for kernel change before running cell (#12949)
This commit is contained in:
@@ -33,7 +33,13 @@ export class ConfigurePythonDialog extends Dialog {
|
||||
await this.code.waitForElement(installButton);
|
||||
await this.code.dispatchKeybinding('enter');
|
||||
|
||||
return this.waitForDialogGone();
|
||||
await this.waitForDialogGone();
|
||||
return this._waitForInstallationComplete();
|
||||
}
|
||||
|
||||
private async _waitForInstallationComplete(): Promise<void> {
|
||||
const installationCompleteNotification = '.notifications-toasts div[aria-label="Notebook dependencies installation is complete, source: Notebook Core Extensions (Extension), notification"]';
|
||||
await this.code.waitForElement(installationCompleteNotification);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user