mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 01:25:37 -05:00
Try to make smoke tests more stable (#15212)
* make sure dialog buttons are not disabled * use 'enter' to close connect dialog * retry clikcing the Connect button * wait for dialog gone after reclicking * pr comments + add logging * use debug to log * close toasts before clicking dialog buttons * await close notification toast call * click python wizard buttons instead of enter
This commit is contained in:
@@ -335,12 +335,14 @@ export class ConnectionDialogWidget extends Modal {
|
||||
}
|
||||
|
||||
private connect(element?: IConnectionProfile): void {
|
||||
this.logService.debug('ConnectionDialogWidget: Connect button is clicked');
|
||||
if (this._connectButton.enabled) {
|
||||
this._connecting = true;
|
||||
this._connectButton.enabled = false;
|
||||
this._providerTypeSelectBox.disable();
|
||||
this.spinner = true;
|
||||
this._onConnect.fire(element);
|
||||
this.logService.debug('ConnectionDialogWidget: onConnect event is fired');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user