mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
@@ -129,14 +129,13 @@ steps:
|
|||||||
displayName: Run smoke tests (Electron)
|
displayName: Run smoke tests (Electron)
|
||||||
condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'))
|
condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'))
|
||||||
|
|
||||||
# - script: |
|
- script: |
|
||||||
# set -e
|
set -e
|
||||||
# node ./node_modules/playwright/install.js
|
node ./node_modules/playwright/install.js
|
||||||
# VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/azuredatastudio-reh-web-darwin" \
|
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/azuredatastudio-reh-web-darwin" \
|
||||||
# yarn smoketest --web --headless --screenshots "$(build.artifactstagingdirectory)/smokeshots"
|
yarn smoketest --web --headless --screenshots "$(build.artifactstagingdirectory)/smokeshots"
|
||||||
# displayName: Run smoke tests (Browser)
|
displayName: Run smoke tests (Browser)
|
||||||
# continueOnError: true
|
condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'))
|
||||||
# condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'))
|
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ export class ConnectionDialog extends Dialog {
|
|||||||
|
|
||||||
private static readonly CONNECT_BUTTON_SELECTOR = '.modal .modal-footer a[aria-label="Connect"]:not(.disabled)';
|
private static readonly CONNECT_BUTTON_SELECTOR = '.modal .modal-footer a[aria-label="Connect"]:not(.disabled)';
|
||||||
async connect(): Promise<void> {
|
async connect(): Promise<void> {
|
||||||
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();
|
return this.waitForDialogGone();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user