Commit 1b047826 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 b856212d
......@@ -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 ]
......
......@@ -11,12 +11,14 @@ module.exports = function (browser, callback, url, preloadPlugins = true) {
initModules(browser, () => {
browser.clickLaunchIcon('solidity')
.pause(2000)
.click('*[for="autoCompile"]')
.perform(function () {
callback()
.execute(() => {
document.getElementById('autoCompile').click()
})
})
} 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