ci: improve logging when running aio/examples e2e tests (#22854)
PR Close #22854
This commit is contained in:
parent
9054e357d6
commit
243c86cd04
|
@ -147,7 +147,7 @@ function runProtractorSystemJS(prepPromise, appDir, appRunSpawnInfo, outputFile)
|
||||||
let transpileError = false;
|
let transpileError = false;
|
||||||
|
|
||||||
// Start protractor.
|
// Start protractor.
|
||||||
|
console.log(`\n\n=========== Running aio example tests for: ${appDir}`);
|
||||||
const spawnInfo = spawnExt('yarn', ['protractor',
|
const spawnInfo = spawnExt('yarn', ['protractor',
|
||||||
PROTRACTOR_CONFIG_FILENAME,
|
PROTRACTOR_CONFIG_FILENAME,
|
||||||
`--specs=${specFilename}`,
|
`--specs=${specFilename}`,
|
||||||
|
@ -199,6 +199,7 @@ function runProtractorAoT(appDir, outputFile) {
|
||||||
// All protractor output is appended to the outputFile.
|
// All protractor output is appended to the outputFile.
|
||||||
// CLI version
|
// CLI version
|
||||||
function runE2eTestsCLI(appDir, outputFile) {
|
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.
|
// `--preserve-symlinks` is needed due the symlinked `node_modules/` in each example.
|
||||||
// `--no-webdriver-update` is needed to preserve the ChromeDriver version already installed.
|
// `--no-webdriver-update` is needed to preserve the ChromeDriver version already installed.
|
||||||
const args = ['e2e', '--preserve-symlinks', '--no-webdriver-update'];
|
const args = ['e2e', '--preserve-symlinks', '--no-webdriver-update'];
|
||||||
|
|
Loading…
Reference in New Issue