Commit 250dd919 authored by ioedeveloper's avatar ioedeveloper

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 Debug ci false positive"#
parent f19fa2cc
......@@ -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()
})
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment