mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
Rename CSS smoke test to language features: For #90538
This commit is contained in:
parent
66c09fb60e
commit
bf6c93062b
|
@ -3,10 +3,10 @@
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
* 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() {
|
export function setup() {
|
||||||
describe('Languages - CSS', () => {
|
describe('Language Features', () => {
|
||||||
it('verifies quick outline', async function () {
|
it('verifies quick outline', async function () {
|
||||||
const app = this.app as Application;
|
const app = this.app as Application;
|
||||||
await app.workbench.quickopen.openFile('style.css');
|
await app.workbench.quickopen.openFile('style.css');
|
||||||
|
@ -15,7 +15,7 @@ export function setup() {
|
||||||
await app.workbench.quickopen.waitForQuickOpenElements(names => names.length === 2);
|
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;
|
const app = this.app as Application;
|
||||||
await app.workbench.quickopen.openFile('style.css');
|
await app.workbench.quickopen.openFile('style.css');
|
||||||
await app.workbench.editor.waitForTypeInEditor('style.css', '.foo{}');
|
await app.workbench.editor.waitForTypeInEditor('style.css', '.foo{}');
|
||||||
|
@ -27,7 +27,7 @@ export function setup() {
|
||||||
await app.workbench.problems.hideProblemsView();
|
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;
|
const app = this.app as Application;
|
||||||
await app.workbench.settingsEditor.addUserSetting('css.lint.emptyRules', '"error"');
|
await app.workbench.settingsEditor.addUserSetting('css.lint.emptyRules', '"error"');
|
||||||
await app.workbench.quickopen.openFile('style.css');
|
await app.workbench.quickopen.openFile('style.css');
|
|
@ -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 setupDataLossTests } from './areas/workbench/data-loss.test';
|
||||||
import { setup as setupDataPreferencesTests } from './areas/preferences/preferences.test';
|
import { setup as setupDataPreferencesTests } from './areas/preferences/preferences.test';
|
||||||
import { setup as setupDataSearchTests } from './areas/search/search.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 setupDataEditorTests } from './areas/editor/editor.test';
|
||||||
import { setup as setupDataStatusbarTests } from './areas/statusbar/statusbar.test';
|
import { setup as setupDataStatusbarTests } from './areas/statusbar/statusbar.test';
|
||||||
import { setup as setupDataExtensionTests } from './areas/extensions/extensions.test';
|
import { setup as setupDataExtensionTests } from './areas/extensions/extensions.test';
|
||||||
|
|
Loading…
Reference in a new issue