wait for compilation to finish

pull/3094/head
yann300 5 years ago
parent 0938bddf0f
commit 6e60e47aa5
  1. 5
      test-browser/commands/verifyContracts.js

@ -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

Loading…
Cancel
Save