From 2bc32d41879a1a1a2fda5900dad7c86f148ba5e4 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Mon, 15 Jun 2020 11:04:09 +0100 Subject: [PATCH] Test exit code --- ci/browser_tests_chrome.sh | 2 +- ci/browser_tests_firefox.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/browser_tests_chrome.sh b/ci/browser_tests_chrome.sh index c5642f7832..31f40bec0f 100755 --- a/ci/browser_tests_chrome.sh +++ b/ci/browser_tests_chrome.sh @@ -22,7 +22,7 @@ setupRemixd sleep 5 TESTFILES=$(circleci tests glob "./test-browser/tests/**/*.test.js" | circleci tests split --split-by=timings) -npm run nightwatch_local_chrome $TESTFILES +npm run nightwatch_local_chrome $TESTFILES || TEST_EXITCODE=1 echo "$TEST_EXITCODE" if [ "$TEST_EXITCODE" -eq 1 ] diff --git a/ci/browser_tests_firefox.sh b/ci/browser_tests_firefox.sh index 89abb5d2b7..d5399c83ed 100755 --- a/ci/browser_tests_firefox.sh +++ b/ci/browser_tests_firefox.sh @@ -22,7 +22,7 @@ setupRemixd sleep 5 TESTFILES=$(circleci tests glob "./test-browser/tests/**/*.test.js" | circleci tests split --split-by=timings) -npm run nightwatch_local_firefox $TESTFILES +npm run nightwatch_local_firefox $TESTFILES || TEST_EXITCODE=1 echo "$TEST_EXITCODE" if [ "$TEST_EXITCODE" -eq 1 ]