mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-09 17:52:34 -05:00
29 lines
1.1 KiB
TypeScript
29 lines
1.1 KiB
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import { Application, Quality } from '../../application';
|
|
|
|
export function setup() {
|
|
describe('Extensions', () => {
|
|
it(`install and activate vscode-smoketest-check extension`, async function () {
|
|
const app = this.app as Application;
|
|
|
|
if (app.quality === Quality.Dev) {
|
|
this.skip();
|
|
return;
|
|
}
|
|
|
|
const extensionName = 'vscode-smoketest-check';
|
|
await app.workbench.extensions.openExtensionsViewlet();
|
|
|
|
await app.workbench.extensions.installExtension(extensionName);
|
|
|
|
await app.reload();
|
|
await app.workbench.extensions.openExtensionsViewlet();
|
|
await app.workbench.runCommand('Smoke Test Check');
|
|
await app.workbench.statusbar.waitForStatusbarText('smoke test', 'VS Code Smoke Test Check');
|
|
});
|
|
});
|
|
} |