diff --git a/test/smoke/src/areas/explorer/explorer.test.ts b/test/smoke/src/areas/explorer/explorer.test.ts deleted file mode 100644 index acba5b12ea78538d0ec6b14a2cbed6d2c8c6c467..0000000000000000000000000000000000000000 --- a/test/smoke/src/areas/explorer/explorer.test.ts +++ /dev/null @@ -1,40 +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('Explorer', () => { - it('quick open search produces correct result', async function () { - const app = this.app as Application; - const expectedNames = [ - '.eslintrc.json', - 'tasks.json', - 'app.js', - 'index.js', - 'users.js', - 'package.json', - 'jsconfig.json' - ]; - - await app.workbench.quickopen.openQuickOpen('.js'); - await app.workbench.quickopen.waitForQuickOpenElements(names => expectedNames.every(n => names.some(m => n === m))); - await app.code.dispatchKeybinding('escape'); - }); - - it('quick open respects fuzzy matching', async function () { - const app = this.app as Application; - const expectedNames = [ - 'tasks.json', - 'app.js', - 'package.json' - ]; - - await app.workbench.quickopen.openQuickOpen('a.s'); - await app.workbench.quickopen.waitForQuickOpenElements(names => expectedNames.every(n => names.some(m => n === m))); - await app.code.dispatchKeybinding('escape'); - }); - }); -} diff --git a/test/smoke/src/areas/search/search.test.ts b/test/smoke/src/areas/search/search.test.ts index 4e34b0049cc25b0116ad2771263c4178928c39f2..68c9e5f28549dcb042106e886563e63d848b2f12 100644 --- a/test/smoke/src/areas/search/search.test.ts +++ b/test/smoke/src/areas/search/search.test.ts @@ -56,4 +56,36 @@ export function setup() { await app.workbench.search.waitForNoResultText(); }); }); + + describe('Quick Open', () => { + it('quick open search produces correct result', async function () { + const app = this.app as Application; + const expectedNames = [ + '.eslintrc.json', + 'tasks.json', + 'app.js', + 'index.js', + 'users.js', + 'package.json', + 'jsconfig.json' + ]; + + await app.workbench.quickopen.openQuickOpen('.js'); + await app.workbench.quickopen.waitForQuickOpenElements(names => expectedNames.every(n => names.some(m => n === m))); + await app.code.dispatchKeybinding('escape'); + }); + + it('quick open respects fuzzy matching', async function () { + const app = this.app as Application; + const expectedNames = [ + 'tasks.json', + 'app.js', + 'package.json' + ]; + + await app.workbench.quickopen.openQuickOpen('a.s'); + await app.workbench.quickopen.waitForQuickOpenElements(names => expectedNames.every(n => names.some(m => n === m))); + await app.code.dispatchKeybinding('escape'); + }); + }); } diff --git a/test/smoke/src/main.ts b/test/smoke/src/main.ts index 7d80fb5ee5eebf12031bd59734656a9137bf0160..c08ddd99c8816f53c379920d0fdd5856184b8bb5 100644 --- a/test/smoke/src/main.ts +++ b/test/smoke/src/main.ts @@ -23,7 +23,6 @@ import { import { setup as setupDataMigrationTests } from './areas/workbench/data-migration.test'; import { setup as setupDataLossTests } from './areas/workbench/data-loss.test'; -import { setup as setupDataExplorerTests } from './areas/explorer/explorer.test'; import { setup as setupDataPreferencesTests } from './areas/preferences/preferences.test'; import { setup as setupDataSearchTests } from './areas/search/search.test'; import { setup as setupDataCSSTests } from './areas/css/css.test'; @@ -311,7 +310,6 @@ describe(`VSCode Smoke Tests (${opts.web ? 'Web' : 'Electron'})`, () => { else { if (!opts.web) { setupDataMigrationTests(opts['stable-build'], testDataPath); } if (!opts.web) { setupDataLossTests(); } - setupDataExplorerTests(); if (!opts.web) { setupDataPreferencesTests(); } setupDataSearchTests(); setupDataCSSTests();