diff --git a/build/azure-pipelines/darwin/sql-product-build-darwin.yml b/build/azure-pipelines/darwin/sql-product-build-darwin.yml index 6b30304bb0..544a559f2f 100644 --- a/build/azure-pipelines/darwin/sql-product-build-darwin.yml +++ b/build/azure-pipelines/darwin/sql-product-build-darwin.yml @@ -129,14 +129,13 @@ steps: displayName: Run smoke tests (Electron) condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true')) - # - script: | - # set -e - # node ./node_modules/playwright/install.js - # VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/azuredatastudio-reh-web-darwin" \ - # yarn smoketest --web --headless --screenshots "$(build.artifactstagingdirectory)/smokeshots" - # displayName: Run smoke tests (Browser) - # continueOnError: true - # condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true')) + - script: | + set -e + node ./node_modules/playwright/install.js + VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/azuredatastudio-reh-web-darwin" \ + yarn smoketest --web --headless --screenshots "$(build.artifactstagingdirectory)/smokeshots" + displayName: Run smoke tests (Browser) + condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true')) - script: | set -e diff --git a/test/automation/src/sql/connectionDialog.ts b/test/automation/src/sql/connectionDialog.ts index 4488fbd0e9..81f35f4876 100644 --- a/test/automation/src/sql/connectionDialog.ts +++ b/test/automation/src/sql/connectionDialog.ts @@ -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 { - await this.code.waitAndClick(ConnectionDialog.CONNECT_BUTTON_SELECTOR, 50, 24); // adjust for potentially a notification being in the way + await this.code.waitAndClick(ConnectionDialog.CONNECT_BUTTON_SELECTOR, 0, 10); // adjust for potentially a notification being in the way return this.waitForDialogGone(); }