|
|
@ -14,8 +14,8 @@ yarn run remixd & |
|
|
|
sleep 5 |
|
|
|
sleep 5 |
|
|
|
|
|
|
|
|
|
|
|
yarn run build:e2e |
|
|
|
yarn run build:e2e |
|
|
|
grep -IRiL "@disabled" "dist/apps/remix-ide-e2e/src/tests" | grep "\.spec\|\.test" | xargs -I {} basename {} .test.js | grep-E '\b[$2]' |
|
|
|
grep -IRiL "@disabled" "dist/apps/remix-ide-e2e/src/tests" | grep "\.spec\|\.test" | xargs -I {} basename {} .test.js | grep -E '\b[$2]' |
|
|
|
TESTFILES=$(grep -IRiL "@disabled" "dist/apps/remix-ide-e2e/src/tests" | grep "\.spec\|\.test" | xargs -I {} basename {} .test.js | grep-E '\b[$2]' | circleci tests split --split-by=timings ) |
|
|
|
TESTFILES=$(grep -IRiL "@disabled" "dist/apps/remix-ide-e2e/src/tests" | grep "\.spec\|\.test" | xargs -I {} basename {} .test.js | grep -E '\b[$2]' | circleci tests split --split-by=timings ) |
|
|
|
for TESTFILE in $TESTFILES; do |
|
|
|
for TESTFILE in $TESTFILES; do |
|
|
|
npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js dist/apps/remix-ide-e2e/src/tests/${TESTFILE}.test.js --env=$1 || TEST_EXITCODE=1 |
|
|
|
npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js dist/apps/remix-ide-e2e/src/tests/${TESTFILE}.test.js --env=$1 || TEST_EXITCODE=1 |
|
|
|
done |
|
|
|
done |
|
|
|