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"#
pull/11/head
ioedeveloper 5 years ago
parent b856212dc1
commit 1b04782639
  1. 5
      apps/remix-ide/ci/browser_tests.sh
  2. 10
      apps/remix-ide/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 ]

@ -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()
})
})
}

Loading…
Cancel
Save