mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
parent
1cbf69d996
commit
281bacb074
20
test/smoke/src/areas/terminal/terminal-profiles.test.ts
Normal file
20
test/smoke/src/areas/terminal/terminal-profiles.test.ts
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { ParsedArgs } from 'minimist';
|
||||
import { Application } from '../../../../automation';
|
||||
import { afterSuite, beforeSuite } from '../../utils';
|
||||
|
||||
export function setup(opts: ParsedArgs) {
|
||||
describe.skip('Terminal Profiles', () => {
|
||||
beforeSuite(opts);
|
||||
afterSuite(opts);
|
||||
|
||||
it.skip('should launch the default profile', async () => {
|
||||
const app = this.app as Application;
|
||||
console.log(app);
|
||||
});
|
||||
});
|
||||
}
|
20
test/smoke/src/areas/terminal/terminal-reconnection.test.ts
Normal file
20
test/smoke/src/areas/terminal/terminal-reconnection.test.ts
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { ParsedArgs } from 'minimist';
|
||||
import { Application } from '../../../../automation';
|
||||
import { afterSuite, beforeSuite } from '../../utils';
|
||||
|
||||
export function setup(opts: ParsedArgs) {
|
||||
describe('Terminal Reconnection', () => {
|
||||
beforeSuite(opts);
|
||||
afterSuite(opts);
|
||||
|
||||
it.skip('should reconnect to a single terminal on reload', async () => {
|
||||
const app = this.app as Application;
|
||||
console.log(app);
|
||||
});
|
||||
});
|
||||
}
|
|
@ -27,6 +27,7 @@ import { setup as setupDataExtensionTests } from './areas/extensions/extensions.
|
|||
import { setup as setupDataMultirootTests } from './areas/multiroot/multiroot.test';
|
||||
import { setup as setupDataLocalizationTests } from './areas/workbench/localization.test';
|
||||
import { setup as setupLaunchTests } from './areas/workbench/launch.test';
|
||||
import { setup as setupTerminalProfileTests } from './areas/terminal/terminal-profiles.test';
|
||||
|
||||
const testDataPath = path.join(os.tmpdir(), 'vscsmoke');
|
||||
if (fs.existsSync(testDataPath)) {
|
||||
|
@ -352,4 +353,7 @@ describe(`VSCode Smoke Tests (${opts.web ? 'Web' : 'Electron'})`, () => {
|
|||
if (!opts.web) { setupDataMultirootTests(opts); }
|
||||
if (!opts.web) { setupDataLocalizationTests(opts); }
|
||||
if (!opts.web) { setupLaunchTests(); }
|
||||
|
||||
// TODO: Enable terminal tests for non-web
|
||||
if (opts.web) { setupTerminalProfileTests(opts); }
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue