From ddb6129d8b4d25984f915e138d66e641e58d324c Mon Sep 17 00:00:00 2001 From: Anthony Dresser Date: Thu, 16 Jul 2020 14:10:00 -0700 Subject: [PATCH] fix issues with smoke tests (#11381) --- test/automation/src/sql/connectionDialog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/automation/src/sql/connectionDialog.ts b/test/automation/src/sql/connectionDialog.ts index 3060e72544..c1b34584b6 100644 --- a/test/automation/src/sql/connectionDialog.ts +++ b/test/automation/src/sql/connectionDialog.ts @@ -28,7 +28,7 @@ export class ConnectionDialog extends Dialog { await this.code.waitForSetValue(ConnectionDialog.TARGET_SELECTOR.replace('${TARGET}', '' + target), value); } - private static readonly CONNECT_BUTTON_SELECTOR = '.modal .modal-footer a[aria-label="Connect"]'; + private static readonly CONNECT_BUTTON_SELECTOR = '.modal .modal-footer a[aria-label="Connect"]:not(.disabled)'; async connect(): Promise { await this.code.waitAndClick(ConnectionDialog.CONNECT_BUTTON_SELECTOR);