mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 23:06:49 +01:00
Remove overly wordy "Smoke Test Suite", change 'context' to 'describe'
This commit is contained in:
@@ -13,7 +13,7 @@ let app: SpectronApplication;
|
||||
let common: CommonActions;
|
||||
|
||||
export function testConfigViews() {
|
||||
context('Configuration and views', () => {
|
||||
describe('Configuration and views', () => {
|
||||
let configView: ConfigurationView;
|
||||
|
||||
beforeEach(async function () {
|
||||
|
||||
@@ -13,7 +13,7 @@ let app: SpectronApplication;
|
||||
let common: CommonActions;
|
||||
|
||||
export function testCSS() {
|
||||
context('CSS', () => {
|
||||
describe('CSS', () => {
|
||||
let css: CSS;
|
||||
|
||||
beforeEach(async function () {
|
||||
|
||||
@@ -14,7 +14,7 @@ let common: CommonActions;
|
||||
let dl: DataLoss;
|
||||
|
||||
export function testDataLoss() {
|
||||
context('Data Loss', () => {
|
||||
describe('Data Loss', () => {
|
||||
|
||||
beforeEach(async function () {
|
||||
app = new SpectronApplication(LATEST_PATH, this.currentTest.fullTitle(), (this.currentTest as any).currentRetry(), [WORKSPACE_PATH], [`--user-data-dir=${USER_DIR}`]);
|
||||
|
||||
@@ -16,7 +16,7 @@ export function testDataMigration() {
|
||||
return;
|
||||
}
|
||||
|
||||
context('Data Migration', () => {
|
||||
describe('Data Migration', () => {
|
||||
|
||||
afterEach(async function () {
|
||||
await app.stop();
|
||||
|
||||
@@ -12,7 +12,7 @@ let app: SpectronApplication;
|
||||
let common: CommonActions;
|
||||
|
||||
export function testExplorer() {
|
||||
context('Explorer', () => {
|
||||
describe('Explorer', () => {
|
||||
|
||||
beforeEach(async function () {
|
||||
app = new SpectronApplication(LATEST_PATH, this.currentTest.fullTitle(), (this.currentTest as any).currentRetry(), [WORKSPACE_PATH]);
|
||||
|
||||
@@ -16,7 +16,7 @@ let common: CommonActions;
|
||||
|
||||
export function testExtensions() {
|
||||
|
||||
context('Extensions', () => {
|
||||
describe('Extensions', () => {
|
||||
let extensions: Extensions;
|
||||
const extensionName = 'vscode-smoketest-check';
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ let app: SpectronApplication;
|
||||
let common: CommonActions;
|
||||
|
||||
export function testGit() {
|
||||
context('Git', () => {
|
||||
describe('Git', () => {
|
||||
let git: Git;
|
||||
|
||||
beforeEach(async function () {
|
||||
|
||||
@@ -13,7 +13,7 @@ let app: SpectronApplication;
|
||||
let common: CommonActions;
|
||||
|
||||
export function testIntegratedTerminal() {
|
||||
context('Integrated Terminal', () => {
|
||||
describe('Integrated Terminal', () => {
|
||||
let terminal: IntegratedTerminal;
|
||||
|
||||
beforeEach(async function () {
|
||||
|
||||
@@ -13,7 +13,7 @@ let app: SpectronApplication;
|
||||
let common: CommonActions;
|
||||
|
||||
export function testJavaScriptDebug() {
|
||||
context('Debugging JavaScript', () => {
|
||||
describe('Debugging JavaScript', () => {
|
||||
let jsDebug: JavaScriptDebug;
|
||||
|
||||
beforeEach(async function () {
|
||||
|
||||
@@ -13,7 +13,7 @@ let app: SpectronApplication;
|
||||
let common: CommonActions;
|
||||
|
||||
export function testJavaScript() {
|
||||
context('JavaScript', () => {
|
||||
describe('JavaScript', () => {
|
||||
let js: JavaScript;
|
||||
|
||||
beforeEach(async function () {
|
||||
|
||||
@@ -13,7 +13,7 @@ let app: SpectronApplication;
|
||||
let common: CommonActions;
|
||||
|
||||
export function testLocalization() {
|
||||
context('Localization', () => {
|
||||
describe('Localization', () => {
|
||||
afterEach(async function () {
|
||||
return await app.stop();
|
||||
});
|
||||
|
||||
@@ -12,7 +12,7 @@ let app: SpectronApplication;
|
||||
let common: CommonActions;
|
||||
|
||||
export function testMultiRoot() {
|
||||
context('Multi Root', () => {
|
||||
describe('Multi Root', () => {
|
||||
|
||||
beforeEach(async function () {
|
||||
app = new SpectronApplication(LATEST_PATH, this.currentTest.fullTitle(), (this.currentTest as any).currentRetry(), [CODE_WORKSPACE_PATH]);
|
||||
|
||||
@@ -13,7 +13,7 @@ let app: SpectronApplication;
|
||||
let common: CommonActions;
|
||||
|
||||
export function testSearch() {
|
||||
context('Search', () => {
|
||||
describe('Search', () => {
|
||||
let search: Search;
|
||||
|
||||
beforeEach(async function () {
|
||||
|
||||
@@ -13,7 +13,7 @@ let app: SpectronApplication;
|
||||
let common: CommonActions;
|
||||
|
||||
export function testStatusbar() {
|
||||
context('Status Bar', () => {
|
||||
describe('Status Bar', () => {
|
||||
let statusBar: StatusBar;
|
||||
|
||||
beforeEach(async function () {
|
||||
|
||||
@@ -11,7 +11,7 @@ import { Tasks } from "../areas/tasks";
|
||||
let app: SpectronApplication;
|
||||
|
||||
export function testTasks() {
|
||||
context('Tasks', () => {
|
||||
describe('Tasks', () => {
|
||||
let tasks: Tasks;
|
||||
|
||||
beforeEach(async function () {
|
||||
|
||||
Reference in New Issue
Block a user