File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,10 @@ sleep 5
17
17
node apps/remix-ide/ci/splice_tests.js $2 $3
18
18
TESTFILES=$( node apps/remix-ide/ci/splice_tests.js $2 $3 | grep -v ' metamask' | circleci tests split --split-by=timings)
19
19
for TESTFILE in $TESTFILES ; do
20
- npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch-${1} .js dist/apps/remix-ide-e2e/src/tests/${TESTFILE} .js --env=$1 || npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch-${1} .js dist/apps/remix-ide-e2e/src/tests/${TESTFILE} .js --env=$1 || TEST_EXITCODE=1
20
+ if ! npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch-${1} .js dist/apps/remix-ide-e2e/src/tests/${TESTFILE} .js --env=$1 ; then
21
+ TEST_EXITCODE=1
22
+ break
23
+ fi
21
24
done
22
25
23
26
echo " $TEST_EXITCODE "
You can’t perform that action at this time.
0 commit comments