Add check for disable telemetry when showing opt out (#11796)

* add check for disable telemtry when showing output

* remove previous fixes for smoke tests

* fix compile

* continue on error for smoke tests
This commit is contained in:
Anthony Dresser
2020-08-13 16:57:05 -07:00
committed by GitHub
parent f3a48da3fa
commit a69b4bf662
4 changed files with 12 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ 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.code.waitAndClick(ConnectionDialog.CONNECT_BUTTON_SELECTOR, 0, 10); // adjust for potentially a notification being in the way
await this.code.waitAndClick(ConnectionDialog.CONNECT_BUTTON_SELECTOR);
return this.waitForDialogGone();
}