提交 a5b58dc5 编写于 作者: D Daniel Imms

Link directly to automation from smoke

上级 0131ee7d
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
"main": "./src/main.js", "main": "./src/main.js",
"scripts": { "scripts": {
"postinstall": "npm run compile", "postinstall": "npm run compile",
"precompile": "yarn add vscode-automation@link:../automation",
"compile": "yarn --cwd ../automation compile && tsc", "compile": "yarn --cwd ../automation compile && tsc",
"watch": "concurrently \"yarn --cwd ../automation watch --preserveWatchOutput\" \"tsc --watch --preserveWatchOutput\"", "watch": "concurrently \"yarn --cwd ../automation watch --preserveWatchOutput\" \"tsc --watch --preserveWatchOutput\"",
"mocha": "mocha" "mocha": "mocha"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* 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 'vscode-automation'; import { Application, ProblemSeverity, Problems } from '../../../../automation';
export function setup() { export function setup() {
describe('CSS', () => { describe('CSS', () => {
......
...@@ -8,7 +8,7 @@ import * as http from 'http'; ...@@ -8,7 +8,7 @@ import * as http from 'http';
import * as path from 'path'; import * as path from 'path';
import * as fs from 'fs'; import * as fs from 'fs';
import * as stripJsonComments from 'strip-json-comments'; import * as stripJsonComments from 'strip-json-comments';
import { Application } from 'vscode-automation'; import { Application } from '../../../../automation';
export function setup() { export function setup() {
describe('Debug', () => { describe('Debug', () => {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* 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 } from 'vscode-automation'; import { Application } from '../../../../automation';
export function setup() { export function setup() {
describe('Editor', () => { describe('Editor', () => {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* 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 } from 'vscode-automation'; import { Application } from '../../../../automation';
export function setup() { export function setup() {
describe('Explorer', () => { describe('Explorer', () => {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* 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, Quality } from 'vscode-automation'; import { Application, Quality } from '../../../../automation';
export function setup() { export function setup() {
describe('Extensions', () => { describe('Extensions', () => {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/ *--------------------------------------------------------------------------------------------*/
import * as cp from 'child_process'; import * as cp from 'child_process';
import { Application } from 'vscode-automation'; import { Application } from '../../../../automation';
const DIFF_EDITOR_LINE_INSERT = '.monaco-diff-editor .editor.modified .line-insert'; const DIFF_EDITOR_LINE_INSERT = '.monaco-diff-editor .editor.modified .line-insert';
const SYNC_STATUSBAR = 'div[id="workbench.parts.statusbar"] .statusbar-item[title$="Synchronize Changes"]'; const SYNC_STATUSBAR = 'div[id="workbench.parts.statusbar"] .statusbar-item[title$="Synchronize Changes"]';
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
import * as fs from 'fs'; import * as fs from 'fs';
import * as path from 'path'; import * as path from 'path';
import { Application } from 'vscode-automation'; import { Application } from '../../../../automation';
function toUri(path: string): string { function toUri(path: string): string {
if (process.platform === 'win32') { if (process.platform === 'win32') {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* 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, ActivityBarPosition } from 'vscode-automation'; import { Application, ActivityBarPosition } from '../../../../automation';
export function setup() { export function setup() {
describe('Preferences', () => { describe('Preferences', () => {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/ *--------------------------------------------------------------------------------------------*/
import * as cp from 'child_process'; import * as cp from 'child_process';
import { Application } from 'vscode-automation'; import { Application } from '../../../../automation';
export function setup() { export function setup() {
describe('Search', () => { describe('Search', () => {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* 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, Quality, StatusBarElement } from 'vscode-automation'; import { Application, Quality, StatusBarElement } from '../../../../automation';
export function setup() { export function setup() {
describe('Statusbar', () => { describe('Statusbar', () => {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* 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 } from 'vscode-automation'; import { Application } from '../../../../automation';
export function setup() { export function setup() {
describe('Terminal', () => { describe('Terminal', () => {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* 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 } from 'vscode-automation'; import { Application } from '../../../../automation';
export function setup() { export function setup() {
describe('Dataloss', () => { describe('Dataloss', () => {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* 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, ApplicationOptions } from 'vscode-automation'; import { Application, ApplicationOptions } from '../../../../automation';
import { join } from 'path'; import { join } from 'path';
export function setup(stableCodePath: string, testDataPath: string) { export function setup(stableCodePath: string, testDataPath: string) {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/ *--------------------------------------------------------------------------------------------*/
import * as path from 'path'; import * as path from 'path';
import { Application, ApplicationOptions } from 'vscode-automation'; import { Application, ApplicationOptions } from '../../../../automation';
export function setup() { export function setup() {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* 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, Quality } from 'vscode-automation'; import { Application, Quality } from '../../../../automation';
export function setup() { export function setup() {
describe('Localization', () => { describe('Localization', () => {
......
...@@ -19,7 +19,7 @@ import { ...@@ -19,7 +19,7 @@ import {
Logger, Logger,
ConsoleLogger, ConsoleLogger,
FileLogger, FileLogger,
} from 'vscode-automation'; } from '../../automation';
import { setup as setupDataMigrationTests } from './areas/workbench/data-migration.test'; import { setup as setupDataMigrationTests } from './areas/workbench/data-migration.test';
import { setup as setupDataLossTests } from './areas/workbench/data-loss.test'; import { setup as setupDataLossTests } from './areas/workbench/data-loss.test';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册