Skip to content

Commit

Permalink
ci: improve logging when running aio/examples e2e tests (#22854)
Browse files Browse the repository at this point in the history
PR Close #22854
  • Loading branch information
IgorMinar committed Mar 18, 2018
1 parent 9054e35 commit 243c86c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aio/tools/examples/run-example-e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function runProtractorSystemJS(prepPromise, appDir, appRunSpawnInfo, outputFile)
let transpileError = false;

// Start protractor.

console.log(`\n\n=========== Running aio example tests for: ${appDir}`);
const spawnInfo = spawnExt('yarn', ['protractor',
PROTRACTOR_CONFIG_FILENAME,
`--specs=${specFilename}`,
Expand Down Expand Up @@ -199,6 +199,7 @@ function runProtractorAoT(appDir, outputFile) {
// All protractor output is appended to the outputFile.
// CLI version
function runE2eTestsCLI(appDir, outputFile) {
console.log(`\n\n=========== Running aio example tests for: ${appDir}`);
// `--preserve-symlinks` is needed due the symlinked `node_modules/` in each example.
// `--no-webdriver-update` is needed to preserve the ChromeDriver version already installed.
const args = ['e2e', '--preserve-symlinks', '--no-webdriver-update'];
Expand Down

0 comments on commit 243c86c

Please sign in to comment.