mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-01 17:23:35 -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:
19
test/smoke/src/sql/areas/import/import.test.ts
Normal file
19
test/smoke/src/sql/areas/import/import.test.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Application } from '../../../../../automation';
|
||||
|
||||
export function setup() {
|
||||
describe('Import', () => {
|
||||
|
||||
it('Opening import wizard without connection opens connection dialog', async function () {
|
||||
const app = this.app as Application;
|
||||
await app.workbench.quickaccess.runCommand('Flat File Import: Import Wizard');
|
||||
// Wait for the service to be downloaded and installed. This can take a while so set timeout to 5min (retryInterval default is 100ms)
|
||||
await app.workbench.statusbar.waitForStatusbarText('', 'Flat File Import Service Started', 5 * 60 * 10);
|
||||
await app.workbench.connectionDialog.waitForConnectionDialog();
|
||||
});
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user