mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-15 10:58:31 -05:00
Add Import smoke test (#15111)
* Add smoke test * Add wait for service * Also revert liveshare * fixes * Use custom extensions dir * fix * compile extensions * Use build extensions dir * test break * revert * revert yarn.lock * Add comment * Add comments
This commit is contained in:
@@ -53,7 +53,8 @@ const opts = minimist(args, {
|
||||
'wait-time',
|
||||
'test-repo',
|
||||
'screenshots',
|
||||
'log'
|
||||
'log',
|
||||
'extensionsDir' // {{SQL CARBON EDIT}} Let callers control extensions dir for non-packaged extensions
|
||||
],
|
||||
boolean: [
|
||||
'verbose',
|
||||
@@ -67,8 +68,14 @@ const opts = minimist(args, {
|
||||
|
||||
const testRepoUrl = 'https://github.com/Microsoft/azuredatastudio-smoke-test-repo.git';
|
||||
const workspacePath = path.join(testDataPath, 'azuredatastudio-smoke-test-repo');
|
||||
const extensionsPath = path.join(testDataPath, 'extensions-dir');
|
||||
mkdirp.sync(extensionsPath);
|
||||
// {{SQL CARBON EDIT}} Let callers control extensions dir for non-packaged extensions
|
||||
let extensionsPath = opts.extensionsDir;
|
||||
if (!extensionsPath) {
|
||||
extensionsPath = path.join(testDataPath, 'extensions-dir');
|
||||
mkdirp.sync(extensionsPath);
|
||||
}
|
||||
console.log(`Using extensions dir : ${extensionsPath}`);
|
||||
|
||||
|
||||
const screenshotsPath = opts.screenshots ? path.resolve(opts.screenshots) : null;
|
||||
if (screenshotsPath) {
|
||||
|
||||
Reference in New Issue
Block a user