From 2af8982640f231c5859b34b24ad7334ceb76eb04 Mon Sep 17 00:00:00 2001 From: Karl Burtram Date: Mon, 5 Oct 2020 15:16:29 -0700 Subject: [PATCH] Update smoke tests to fix merge breaks (#12751) * Update azuredatastudio-sqlite path * Disable web smoke tests --- .../darwin/sql-product-build-darwin.yml | 16 ++++++++-------- test/smoke/src/main.ts | 2 +- test/smoke/src/sql/main.ts | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/build/azure-pipelines/darwin/sql-product-build-darwin.yml b/build/azure-pipelines/darwin/sql-product-build-darwin.yml index 9011050df8..fc6bdd7d12 100644 --- a/build/azure-pipelines/darwin/sql-product-build-darwin.yml +++ b/build/azure-pipelines/darwin/sql-product-build-darwin.yml @@ -128,14 +128,14 @@ steps: 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) - 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) + # continueOnError: true + # condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true')) - script: | set -e diff --git a/test/smoke/src/main.ts b/test/smoke/src/main.ts index a226232c3b..476dada1c9 100644 --- a/test/smoke/src/main.ts +++ b/test/smoke/src/main.ts @@ -65,7 +65,7 @@ const opts = minimist(args, { } }); -const testRepoUrl = 'https://github.com/anthonydresser/azuredatastudio-smoke-test-repo.git'; +const testRepoUrl = 'https://github.com/kburtram/azuredatastudio-smoke-test-repo.git'; const workspacePath = path.join(testDataPath, 'azuredatastudio-smoke-test-repo'); const extensionsPath = path.join(testDataPath, 'extensions-dir'); mkdirp.sync(extensionsPath); diff --git a/test/smoke/src/sql/main.ts b/test/smoke/src/sql/main.ts index 7d04a6bac0..4a2fbe1f54 100644 --- a/test/smoke/src/sql/main.ts +++ b/test/smoke/src/sql/main.ts @@ -27,7 +27,7 @@ const PLATFORM = '${PLATFORM}'; const RUNTIME = '${RUNTIME}'; const VERSION = '${VERSION}'; -const sqliteUrl = `https://github.com/anthonydresser/azuredatastudio-sqlite/releases/download/1.0.19/azuredatastudio-sqlite-${PLATFORM}-${RUNTIME}-${VERSION}.zip`; +const sqliteUrl = `https://github.com/kburtram/azuredatastudio-sqlite/releases/download/1.0.20/azuredatastudio-sqlite-${PLATFORM}-${RUNTIME}-${VERSION}.zip`; export async function setup(app: ApplicationOptions): Promise { console.log('*** Downloading test extensions');