From 06f2731c7f977893d9692d392c3e7de1f20e993b Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Fri, 14 Feb 2020 07:24:44 -0800 Subject: [PATCH] Remove terminal smoke test Fixes #90539 --- .../smoke/src/areas/terminal/terminal.test.ts | 26 ------------------- test/smoke/src/main.ts | 2 -- 2 files changed, 28 deletions(-) delete mode 100644 test/smoke/src/areas/terminal/terminal.test.ts diff --git a/test/smoke/src/areas/terminal/terminal.test.ts b/test/smoke/src/areas/terminal/terminal.test.ts deleted file mode 100644 index 034c1f21666..00000000000 --- a/test/smoke/src/areas/terminal/terminal.test.ts +++ /dev/null @@ -1,26 +0,0 @@ -/*--------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. - *--------------------------------------------------------------------------------------------*/ - -import { Application } from '../../../../automation'; - -export function setup() { - describe('Terminal', () => { - it(`opens terminal, runs 'echo' and verifies the output`, async function () { - const app = this.app as Application; - - const expected = new Date().getTime().toString(); - await app.workbench.terminal.showTerminal(); - await app.workbench.terminal.runCommand(`echo ${expected}`); - await app.workbench.terminal.waitForTerminalText(terminalText => { - for (let index = terminalText.length - 2; index >= 0; index--) { - if (!!terminalText[index] && terminalText[index].trim() === expected) { - return true; - } - } - return false; - }); - }); - }); -} diff --git a/test/smoke/src/main.ts b/test/smoke/src/main.ts index 8122d235289..60af92f8694 100644 --- a/test/smoke/src/main.ts +++ b/test/smoke/src/main.ts @@ -29,7 +29,6 @@ import { setup as setupDataCSSTests } from './areas/css/css.test'; import { setup as setupDataEditorTests } from './areas/editor/editor.test'; import { setup as setupDataStatusbarTests } from './areas/statusbar/statusbar.test'; import { setup as setupDataExtensionTests } from './areas/extensions/extensions.test'; -import { setup as setupTerminalTests } from './areas/terminal/terminal.test'; 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'; @@ -314,7 +313,6 @@ describe(`VSCode Smoke Tests (${opts.web ? 'Web' : 'Electron'})`, () => { setupDataEditorTests(); setupDataStatusbarTests(!!opts.web); if (!opts.web) { setupDataExtensionTests(); } - setupTerminalTests(); if (!opts.web) { setupDataMultirootTests(); } if (!opts.web) { setupDataLocalizationTests(); } if (!opts.web) { setupLaunchTests(); }