Commit 3ae97521 authored by yann300's avatar yann300

wait for compilation to finish

parent df3d4932
......@@ -13,7 +13,10 @@ class VerifyContracts extends EventEmitter {
}
function getCompiledContracts (browser, callback) {
browser.clickLaunchIcon('solidity').execute(function () {
browser
.clickLaunchIcon('solidity')
.waitForElementPresent('#compileTabView select#compiledContracts option')
.execute(function () {
var contracts = document.querySelectorAll('#compileTabView select#compiledContracts option')
if (!contracts) {
return null
......
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