From 3ba8e20d7a5de1e0659f7b71267057cc88bf8f14 Mon Sep 17 00:00:00 2001 From: alfonsomthd Date: Mon, 28 Jan 2019 09:55:37 +0100 Subject: [PATCH] mgr/dashboard: added 'env_build' to 'npm run e2e' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * 'e2e' & 'e2e:dev' need also to run 'env_build' to complete successfully. Signed-off-by: Alfonso Martínez --- src/pybind/mgr/dashboard/frontend/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/package.json b/src/pybind/mgr/dashboard/frontend/package.json index 799a28072d7..481972229f7 100644 --- a/src/pybind/mgr/dashboard/frontend/package.json +++ b/src/pybind/mgr/dashboard/frontend/package.json @@ -10,8 +10,8 @@ "i18n": "ng xi18n --i18n-format xlf --i18n-locale en-US --output-path locale --progress=false && ngx-extractor -i 'src/**/*.ts' -f xlf -o src/locale/messages.xlf -l en-US", "test": "jest --watch", "test:ci": "JEST_SILENT_REPORTER_DOTS=true jest --coverage --reporters jest-silent-reporter", - "e2e": "ng e2e", - "e2e:dev": "ng e2e --dev-server-target", + "e2e": "npm run env_build && ng e2e", + "e2e:dev": "npm run env_build && ng e2e --dev-server-target", "lint:tslint": "ng lint", "lint:prettier": "prettier --list-different \"{src,e2e}/**/*.{ts,scss}\"", "lint:html": "html-linter --config html-linter.config.json", -- 2.39.5