diff --git a/test/smoke/package.json b/test/smoke/package.json index 5f50c32c93c7838530a7c6bf4a168a2a290bc1b2..be3067a87270c8c57b136f45112c12054ca4fef2 100644 --- a/test/smoke/package.json +++ b/test/smoke/package.json @@ -4,7 +4,6 @@ "main": "./src/main.js", "scripts": { "postinstall": "npm run compile", - "precompile": "yarn add vscode-automation@link:../automation", "compile": "yarn --cwd ../automation compile && tsc", "watch": "concurrently \"yarn --cwd ../automation watch --preserveWatchOutput\" \"tsc --watch --preserveWatchOutput\"", "mocha": "mocha" diff --git a/test/smoke/src/areas/css/css.test.ts b/test/smoke/src/areas/css/css.test.ts index 3001f3662476c9e8cdc60848eec08fcd1eab1bfb..454f6eed9e8de6d192b8b1aad799a77d230ec1bd 100644 --- a/test/smoke/src/areas/css/css.test.ts +++ b/test/smoke/src/areas/css/css.test.ts @@ -3,7 +3,7 @@ * 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() { describe('CSS', () => { diff --git a/test/smoke/src/areas/debug/debug.test.ts b/test/smoke/src/areas/debug/debug.test.ts index 1dd22771d6ee550a78c28367bbb335f4e3a30e37..c3fb76fe6c0a03069614fcf53840ccb13949a688 100644 --- a/test/smoke/src/areas/debug/debug.test.ts +++ b/test/smoke/src/areas/debug/debug.test.ts @@ -8,7 +8,7 @@ import * as http from 'http'; import * as path from 'path'; import * as fs from 'fs'; import * as stripJsonComments from 'strip-json-comments'; -import { Application } from 'vscode-automation'; +import { Application } from '../../../../automation'; export function setup() { describe('Debug', () => { diff --git a/test/smoke/src/areas/editor/editor.test.ts b/test/smoke/src/areas/editor/editor.test.ts index 22828bb109df02356b59975b90d222f0cde9bbbf..469d5a179b111dc0d30c666d93f0ab7c0796ed5e 100644 --- a/test/smoke/src/areas/editor/editor.test.ts +++ b/test/smoke/src/areas/editor/editor.test.ts @@ -3,7 +3,7 @@ * 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() { describe('Editor', () => { diff --git a/test/smoke/src/areas/explorer/explorer.test.ts b/test/smoke/src/areas/explorer/explorer.test.ts index 9b28e5214dce4b37789553448f45c598b5abf489..acba5b12ea78538d0ec6b14a2cbed6d2c8c6c467 100644 --- a/test/smoke/src/areas/explorer/explorer.test.ts +++ b/test/smoke/src/areas/explorer/explorer.test.ts @@ -3,7 +3,7 @@ * 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() { describe('Explorer', () => { diff --git a/test/smoke/src/areas/extensions/extensions.test.ts b/test/smoke/src/areas/extensions/extensions.test.ts index 15c5b9bad1b0d0fbd4e26366278121a9989ccffd..bf43a5013fd49373438a3959a5035e95e2439306 100644 --- a/test/smoke/src/areas/extensions/extensions.test.ts +++ b/test/smoke/src/areas/extensions/extensions.test.ts @@ -3,7 +3,7 @@ * 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() { describe('Extensions', () => { diff --git a/test/smoke/src/areas/git/git.test.ts b/test/smoke/src/areas/git/git.test.ts index ab4ba97aafb1a1ec00c660886658c3b911757594..300c832694dfae34f2aa209aa287f4f4be4e07e5 100644 --- a/test/smoke/src/areas/git/git.test.ts +++ b/test/smoke/src/areas/git/git.test.ts @@ -4,7 +4,7 @@ *--------------------------------------------------------------------------------------------*/ 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 SYNC_STATUSBAR = 'div[id="workbench.parts.statusbar"] .statusbar-item[title$="Synchronize Changes"]'; diff --git a/test/smoke/src/areas/multiroot/multiroot.test.ts b/test/smoke/src/areas/multiroot/multiroot.test.ts index e6c04301e2347d615bc6bc7ba18ba902ac403c29..0a1090a3ff59f716de87c10417cbd00f3f6d1b11 100644 --- a/test/smoke/src/areas/multiroot/multiroot.test.ts +++ b/test/smoke/src/areas/multiroot/multiroot.test.ts @@ -5,7 +5,7 @@ import * as fs from 'fs'; import * as path from 'path'; -import { Application } from 'vscode-automation'; +import { Application } from '../../../../automation'; function toUri(path: string): string { if (process.platform === 'win32') { diff --git a/test/smoke/src/areas/preferences/preferences.test.ts b/test/smoke/src/areas/preferences/preferences.test.ts index e1c1b64ce6222b197c5ce164108b5431c7e47d94..721f46a7de6630b09a78a82aa56e0738aec7b57b 100644 --- a/test/smoke/src/areas/preferences/preferences.test.ts +++ b/test/smoke/src/areas/preferences/preferences.test.ts @@ -3,7 +3,7 @@ * 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() { describe('Preferences', () => { diff --git a/test/smoke/src/areas/search/search.test.ts b/test/smoke/src/areas/search/search.test.ts index dac1331a401c3158c29be6c30fa72bc2af6b679d..4e34b0049cc25b0116ad2771263c4178928c39f2 100644 --- a/test/smoke/src/areas/search/search.test.ts +++ b/test/smoke/src/areas/search/search.test.ts @@ -4,7 +4,7 @@ *--------------------------------------------------------------------------------------------*/ import * as cp from 'child_process'; -import { Application } from 'vscode-automation'; +import { Application } from '../../../../automation'; export function setup() { describe('Search', () => { diff --git a/test/smoke/src/areas/statusbar/statusbar.test.ts b/test/smoke/src/areas/statusbar/statusbar.test.ts index dfbe3c3059084c957c478ca318d02d500dec7cc5..a4ecca8e0471402c878f832205bbe88ca809e495 100644 --- a/test/smoke/src/areas/statusbar/statusbar.test.ts +++ b/test/smoke/src/areas/statusbar/statusbar.test.ts @@ -3,7 +3,7 @@ * 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() { describe('Statusbar', () => { diff --git a/test/smoke/src/areas/terminal/terminal.test.ts b/test/smoke/src/areas/terminal/terminal.test.ts index 75657ce990829a97319bcfc56d360759f596d1a9..034c1f21666634f6cbd9e644508e723f383803f3 100644 --- a/test/smoke/src/areas/terminal/terminal.test.ts +++ b/test/smoke/src/areas/terminal/terminal.test.ts @@ -3,7 +3,7 @@ * 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() { describe('Terminal', () => { diff --git a/test/smoke/src/areas/workbench/data-loss.test.ts b/test/smoke/src/areas/workbench/data-loss.test.ts index 3ee4ead38ef3a7675dd0fd48fd3f047d40835237..a6cc6577675c5300269ea5ea61016376ff331981 100644 --- a/test/smoke/src/areas/workbench/data-loss.test.ts +++ b/test/smoke/src/areas/workbench/data-loss.test.ts @@ -3,7 +3,7 @@ * 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() { describe('Dataloss', () => { diff --git a/test/smoke/src/areas/workbench/data-migration.test.ts b/test/smoke/src/areas/workbench/data-migration.test.ts index e296566310f9cad8103131821924faa24d3d0439..7e9fb9cc68e3deae50091e4ccaed391ad655649c 100644 --- a/test/smoke/src/areas/workbench/data-migration.test.ts +++ b/test/smoke/src/areas/workbench/data-migration.test.ts @@ -3,7 +3,7 @@ * 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'; export function setup(stableCodePath: string, testDataPath: string) { diff --git a/test/smoke/src/areas/workbench/launch.test.ts b/test/smoke/src/areas/workbench/launch.test.ts index 4903ddece9c5ac1553712123cd238e4ed3e2a235..3d1e4c42fd059928620c94a1c9990a3c79023a16 100644 --- a/test/smoke/src/areas/workbench/launch.test.ts +++ b/test/smoke/src/areas/workbench/launch.test.ts @@ -4,7 +4,7 @@ *--------------------------------------------------------------------------------------------*/ import * as path from 'path'; -import { Application, ApplicationOptions } from 'vscode-automation'; +import { Application, ApplicationOptions } from '../../../../automation'; export function setup() { diff --git a/test/smoke/src/areas/workbench/localization.test.ts b/test/smoke/src/areas/workbench/localization.test.ts index a136781b15394f2722a545ec21a88a82ec3ac916..5db5fe2b74ababab7882677260a50452eb926c69 100644 --- a/test/smoke/src/areas/workbench/localization.test.ts +++ b/test/smoke/src/areas/workbench/localization.test.ts @@ -3,7 +3,7 @@ * 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() { describe('Localization', () => { diff --git a/test/smoke/src/main.ts b/test/smoke/src/main.ts index e51aa4b9454ec368a46f2c85070d8c244f40bc9c..1f05158f281b33afc4491e40ba1ec7489233ebd3 100644 --- a/test/smoke/src/main.ts +++ b/test/smoke/src/main.ts @@ -19,7 +19,7 @@ import { Logger, ConsoleLogger, FileLogger, -} from 'vscode-automation'; +} from '../../automation'; import { setup as setupDataMigrationTests } from './areas/workbench/data-migration.test'; import { setup as setupDataLossTests } from './areas/workbench/data-loss.test';