From 25f96f61d3b7204eac0ff4cb1c9ba18499cd44bf Mon Sep 17 00:00:00 2001 From: yann300 Date: Fri, 28 Oct 2016 10:12:10 +0200 Subject: [PATCH] run tests in parallel --- ci/browser_tests.sh | 20 +------------------- package.json | 3 ++- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/ci/browser_tests.sh b/ci/browser_tests.sh index 658337b521..30b3088df1 100755 --- a/ci/browser_tests.sh +++ b/ci/browser_tests.sh @@ -17,25 +17,7 @@ while [ ! -f $SAUCECONNECT_READYFILE ]; do sleep .5 done -npm run nightwatch_remote_firefox -if [ $? -eq 1 ] -then - TEST_EXITCODE=1 -fi - -npm run nightwatch_remote_chrome -if [ $? -eq 1 ] -then - TEST_EXITCODE=1 -fi - -npm run nightwatch_remote_safari -if [ $? -eq 1 ] -then - TEST_EXITCODE=1 -fi - -npm run nightwatch_remote_ie +npm run nightwatch_remote_parallel if [ $? -eq 1 ] then TEST_EXITCODE=1 diff --git a/package.json b/package.json index 6be9f42e93..8632202dd0 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,8 @@ "nightwatch_remote_firefox": "nightwatch --config nightwatch.js --env default", "nightwatch_remote_chrome": "nightwatch --config nightwatch.js --env chrome", "nightwatch_remote_safari": "nightwatch --config nightwatch.js --env safari", - "nightwatch_remote_ie": "nightwatch --config nightwatch.js --env ie" + "nightwatch_remote_ie": "nightwatch --config nightwatch.js --env ie", + "nightwatch_remote_parallel": "nightwatch --config nightwatch.js --env ie,safari,chrome,default" }, "repository": { "type": "git",