diff --git a/test/automation/src/playwrightDriver.ts b/test/automation/src/playwrightDriver.ts index ca40282175f..ad0ab8f5b4b 100644 --- a/test/automation/src/playwrightDriver.ts +++ b/test/automation/src/playwrightDriver.ts @@ -86,8 +86,6 @@ function timeout(ms: number): Promise { return new Promise(r => setTimeout(r, ms)); } -// function runInDriver(call: string, args: (string | boolean)[]): Promise {} - let server: ChildProcess | undefined; let endpoint: string | undefined; let workspacePath: string | undefined; @@ -105,8 +103,10 @@ export async function launch(userDataDir: string, _workspacePath: string, codeSe let serverLocation: string | undefined; if (codeServerPath) { serverLocation = join(codeServerPath, `server.${process.platform === 'win32' ? 'cmd' : 'sh'}`); + console.log(`Starting built server from '${serverLocation}'`); } else { serverLocation = join(__dirname, '..', '..', '..', `resources/server/web.${process.platform === 'win32' ? 'bat' : 'sh'}`); + console.log(`Starting server out of sources from '${serverLocation}'`); } server = spawn( serverLocation, diff --git a/test/integration/browser/src/index.ts b/test/integration/browser/src/index.ts index 7058f92ecf2..91bdd3a8322 100644 --- a/test/integration/browser/src/index.ts +++ b/test/integration/browser/src/index.ts @@ -95,10 +95,13 @@ async function launchServer(): Promise<{ endpoint: url.UrlWithStringQuery, serve let serverLocation: string; if (process.env.VSCODE_REMOTE_SERVER_PATH) { serverLocation = path.join(process.env.VSCODE_REMOTE_SERVER_PATH, `server.${process.platform === 'win32' ? 'cmd' : 'sh'}`); + + console.log(`Starting built server from '${serverLocation}'`); } else { serverLocation = path.join(__dirname, '..', '..', '..', '..', `resources/server/web.${process.platform === 'win32' ? 'bat' : 'sh'}`); - process.env.VSCODE_DEV = '1'; + + console.log(`Starting server out of sources from '${serverLocation}'`); } let serverProcess = cp.spawn( diff --git a/test/smoke/src/main.ts b/test/smoke/src/main.ts index 7f6eb22d6e5..72b768a6e01 100644 --- a/test/smoke/src/main.ts +++ b/test/smoke/src/main.ts @@ -154,6 +154,8 @@ if (!opts.web) { } else { quality = Quality.Stable; } + + console.log(`Running desktop smoke tests against ${electronPath}`); } // @@ -162,14 +164,20 @@ if (!opts.web) { else { const testCodeServerPath = opts.build || process.env.VSCODE_REMOTE_SERVER_PATH; - if (typeof testCodeServerPath === 'string' && !fs.existsSync(testCodeServerPath)) { - fail(`Can't find Code server at ${testCodeServerPath}.`); + if (typeof testCodeServerPath === 'string') { + if (!fs.existsSync(testCodeServerPath)) { + fail(`Can't find Code server at ${testCodeServerPath}.`); + } else { + console.log(`Running web smoke tests against ${testCodeServerPath}`); + } } if (!testCodeServerPath) { process.env.VSCODE_REPOSITORY = repoPath; process.env.VSCODE_DEV = '1'; process.env.VSCODE_CLI = '1'; + + console.log(`Running web smoke out of sources`); } if (process.env.VSCODE_DEV === '1') {