diff --git a/test-browser/commands/verifyContracts.js b/test-browser/commands/verifyContracts.js index c35870180f..42bf669e4c 100644 --- a/test-browser/commands/verifyContracts.js +++ b/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