Add logging to ADS Web smoke tests, and skip failing tests. (#17353)

* Adds loggings to ADS pipeline

* Skips notebook smoke tests for ADS web.

* Skips failing create book dialog tests in web build

* Ignores import tests ADS web

* Groups related tests together for ADS Web and non-web

* Updates distro commit hash
This commit is contained in:
Lewis Sanchez
2021-10-18 19:46:45 -07:00
committed by GitHub
parent 9a05d81215
commit 1fabd233e9
3 changed files with 9 additions and 7 deletions

View File

@@ -108,7 +108,7 @@ steps:
set -e
node ./node_modules/playwright/install.js
APP_ROOT=$(Agent.BuildDirectory)/vscode-reh-web-linux-x64
xvfb-run yarn smoketest --build "$(Agent.BuildDirectory)/vscode-reh-web-linux-x64" --web --headless --screenshots "$(Build.ArtifactStagingDirectory)/smokeshots"
xvfb-run yarn smoketest --build "$(Agent.BuildDirectory)/vscode-reh-web-linux-x64" --web --headless --screenshots "$(Build.ArtifactStagingDirectory)/smokeshots" --log "$(Build.ArtifactStagingDirectory)/logs/web/smoke.log"
displayName: Run smoke tests (Browser)
continueOnError: true
condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'))

View File

@@ -1,7 +1,7 @@
{
"name": "azuredatastudio",
"version": "1.33.0",
"distro": "01b299c0f340f6cf9dc10290b3aadea449c7940f",
"distro": "77e165275b4fa492f172e2b2ff3b9193726bcb49",
"author": {
"name": "Microsoft Corporation"
},

View File

@@ -19,14 +19,16 @@ import * as mkdirp from 'mkdirp';
export function main(isWeb: boolean = false): void {
if (isWeb) {
setupQueryEditorWebTests();
setupNotebookViewTests();
setupAddRemoteBookDialogTests();
} else {
setupQueryEditorTests();
setupNotebookTests();
setupNotebookViewTests();
setupCreateBookDialogTests();
setupAddRemoteBookDialogTests();
setupImportTests();
}
setupNotebookTests();
setupNotebookViewTests();
setupCreateBookDialogTests();
setupAddRemoteBookDialogTests();
setupImportTests();
}
/* eslint-disable no-sync */