mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Update smoke tests to fix merge breaks (#12751)
* Update azuredatastudio-sqlite path * Disable web smoke tests
This commit is contained in:
@@ -128,14 +128,14 @@ steps:
|
|||||||
continueOnError: true
|
continueOnError: true
|
||||||
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
|
# continueOnError: true
|
||||||
condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'))
|
# condition: and(succeeded(), eq(variables['RUN_TESTS'], 'true'))
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
@@ -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 workspacePath = path.join(testDataPath, 'azuredatastudio-smoke-test-repo');
|
||||||
const extensionsPath = path.join(testDataPath, 'extensions-dir');
|
const extensionsPath = path.join(testDataPath, 'extensions-dir');
|
||||||
mkdirp.sync(extensionsPath);
|
mkdirp.sync(extensionsPath);
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ const PLATFORM = '${PLATFORM}';
|
|||||||
const RUNTIME = '${RUNTIME}';
|
const RUNTIME = '${RUNTIME}';
|
||||||
const VERSION = '${VERSION}';
|
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<void> {
|
export async function setup(app: ApplicationOptions): Promise<void> {
|
||||||
console.log('*** Downloading test extensions');
|
console.log('*** Downloading test extensions');
|
||||||
|
|||||||
Reference in New Issue
Block a user