mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-19 11:31:40 -04:00
remove close toast from dialogs (#15503)
This commit is contained in:
@@ -5,13 +5,12 @@
|
||||
|
||||
import { Code } from '../code';
|
||||
import { Dialog } from './dialog';
|
||||
import { NotificationToast } from './notificationToast';
|
||||
|
||||
const CONNECTION_DIALOG_TITLE = 'Connection';
|
||||
|
||||
export class ConnectionDialog extends Dialog {
|
||||
|
||||
constructor(code: Code, private notificationToast: NotificationToast) {
|
||||
constructor(code: Code) {
|
||||
super(CONNECTION_DIALOG_TITLE, code);
|
||||
}
|
||||
|
||||
@@ -31,8 +30,6 @@ export class ConnectionDialog extends Dialog {
|
||||
|
||||
private static readonly CONNECT_BUTTON_SELECTOR = '.modal .modal-footer a[aria-label="Connect"]:not(.disabled)';
|
||||
async connect(): Promise<void> {
|
||||
await this.notificationToast.closeNotificationToasts();
|
||||
|
||||
await this.code.waitAndClick(ConnectionDialog.CONNECT_BUTTON_SELECTOR);
|
||||
|
||||
await this.waitForDialogGone();
|
||||
|
||||
Reference in New Issue
Block a user