From bf6c93062b2a1f05fc81bb909ba0d47e8a069949 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Mon, 2 Mar 2020 11:39:36 +0100 Subject: [PATCH] Rename CSS smoke test to language features: For #90538 --- .../areas/languages/{css.test.ts => languages.test.ts} | 8 ++++---- test/smoke/src/main.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename test/smoke/src/areas/languages/{css.test.ts => languages.test.ts} (89%) diff --git a/test/smoke/src/areas/languages/css.test.ts b/test/smoke/src/areas/languages/languages.test.ts similarity index 89% rename from test/smoke/src/areas/languages/css.test.ts rename to test/smoke/src/areas/languages/languages.test.ts index 02daa15c7b9..0985a614a9e 100644 --- a/test/smoke/src/areas/languages/css.test.ts +++ b/test/smoke/src/areas/languages/languages.test.ts @@ -3,10 +3,10 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -import { Application, ProblemSeverity, Problems } from '../../../../automation'; +import { Application, ProblemSeverity, Problems } from '../../../../automation/out'; export function setup() { - describe('Languages - CSS', () => { + describe('Language Features', () => { it('verifies quick outline', async function () { const app = this.app as Application; await app.workbench.quickopen.openFile('style.css'); @@ -15,7 +15,7 @@ export function setup() { await app.workbench.quickopen.waitForQuickOpenElements(names => names.length === 2); }); - it('verifies warnings for the empty rule', async function () { + it('verifies problems view', async function () { const app = this.app as Application; await app.workbench.quickopen.openFile('style.css'); await app.workbench.editor.waitForTypeInEditor('style.css', '.foo{}'); @@ -27,7 +27,7 @@ export function setup() { await app.workbench.problems.hideProblemsView(); }); - it('verifies that warning becomes an error once setting changed', async function () { + it('verifies settings', async function () { const app = this.app as Application; await app.workbench.settingsEditor.addUserSetting('css.lint.emptyRules', '"error"'); await app.workbench.quickopen.openFile('style.css'); diff --git a/test/smoke/src/main.ts b/test/smoke/src/main.ts index f4d51dba717..5a1dd9f11cc 100644 --- a/test/smoke/src/main.ts +++ b/test/smoke/src/main.ts @@ -25,7 +25,7 @@ import { setup as setupDataMigrationTests } from './areas/workbench/data-migrati import { setup as setupDataLossTests } from './areas/workbench/data-loss.test'; import { setup as setupDataPreferencesTests } from './areas/preferences/preferences.test'; import { setup as setupDataSearchTests } from './areas/search/search.test'; -import { setup as setupDataLanguagesTests } from './areas/languages/css.test'; +import { setup as setupDataLanguagesTests } from './areas/languages/languages.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';