Debug ci

Debug ci

Debug ci

Debug ci

Debug ci

Debug ci

Debug ci

Debug ci

Debug ci

Debug ci

Debug ci

Debug ci

Debug ci

Debug ci

false positive"#
uiCheck
ioedeveloper 5 years ago
parent f19fa2cc4a
commit 250dd91966
  1. 5
      ci/browser_tests_chrome.sh
  2. 5
      ci/browser_tests_firefox.sh
  3. 6
      test-browser/helpers/init.js

@ -22,7 +22,10 @@ setupRemixd
sleep 5
TESTFILES=$(circleci tests glob "./test-browser/tests/**/*.test.js" | circleci tests split --split-by=timings)
npm run nightwatch_local_chrome ${TESTFILES || exit 1;}
ls
for TESTFILE in $TESTFILES; do
./node_modules/.bin/nightwatch --config nightwatch.js --env chrome $TESTFILE || exit 1;
done
echo "$TEST_EXITCODE"
if [ "$TEST_EXITCODE" -eq 1 ]

@ -22,7 +22,10 @@ setupRemixd
sleep 5
TESTFILES=$(circleci tests glob "./test-browser/tests/**/*.test.js" | circleci tests split --split-by=timings)
npm run nightwatch_local_firefox ${TESTFILES || exit 1;}
ls
for TESTFILE in $TESTFILES; do
./node_modules/.bin/nightwatch --config nightwatch.js --env firefox $TESTFILE || exit 1;
done
echo "$TEST_EXITCODE"
if [ "$TEST_EXITCODE" -eq 1 ]

@ -14,11 +14,11 @@ module.exports = function (browser, callback, url, preloadPlugins = true) {
.execute(() => {
document.getElementById('autoCompile').click()
})
.perform(function () {
callback()
})
}
})
} else callback()
.perform(()=>{
callback()
})
})
}

Loading…
Cancel
Save