diff --git a/build-system/tasks/e2e/index.js b/build-system/tasks/e2e/index.js index 18047e453a880..49a9eece41c81 100644 --- a/build-system/tasks/e2e/index.js +++ b/build-system/tasks/e2e/index.js @@ -37,6 +37,7 @@ const TEST_RETRIES = 2; let webServerProcess_; function installPackages_() { + log('Running', cyan('yarn'), 'to install packages...'); execOrDie('npx yarn --cwd build-system/tasks/e2e', {'stdio': 'ignore'}); } @@ -46,6 +47,7 @@ function buildRuntime_() { } function launchWebServer_() { + log('Launching webserver at', cyan(`http://${HOST}:${PORT}`) + '...'); webServerProcess_ = execScriptAsync( `gulp serve --compiled --host ${HOST} --port ${PORT}`, {stdio: 'ignore'} @@ -114,6 +116,7 @@ async function e2e() { // run tests if (!argv.watch) { + log('Running tests...'); const mocha = createMocha_(); // specify tests to run diff --git a/build-system/tasks/e2e/package.json b/build-system/tasks/e2e/package.json index ec1d99637732a..7ee09b2d88d75 100644 --- a/build-system/tasks/e2e/package.json +++ b/build-system/tasks/e2e/package.json @@ -3,7 +3,7 @@ "name": "gulp-e2e", "version": "0.1.0", "description": "Gulp e2e", - "dependencies": { + "devDependencies": { "@babel/register": "7.4.4", "babel-regenerator-runtime": "6.5.0", "chromedriver": "74.0.0", diff --git a/build-system/tasks/visual-diff/package.json b/build-system/tasks/visual-diff/package.json index da5a378e9bbfc..99888a4634520 100644 --- a/build-system/tasks/visual-diff/package.json +++ b/build-system/tasks/visual-diff/package.json @@ -3,7 +3,7 @@ "name": "gulp-visual-diff", "version": "0.1.0", "description": "Gulp visual diff", - "dependencies": { + "devDependencies": { "@percy/puppeteer": "0.4.0", "puppeteer": "1.9.0" }