diff --git a/apps/remix-ide/test-browser/helpers/init.js b/apps/remix-ide/test-browser/helpers/init.js index cdb074252e..805660cd46 100644 --- a/apps/remix-ide/test-browser/helpers/init.js +++ b/apps/remix-ide/test-browser/helpers/init.js @@ -11,8 +11,9 @@ module.exports = function (browser, callback, url, preloadPlugins = true) { console.log('preloadPlugins: ', preloadPlugins) initModules(browser, () => { browser.clickLaunchIcon('solidity') - .waitForElementPresent('[for="autoCompile"]') + .waitForElementVisible('[for="autoCompile"]') .click('[for="autoCompile"]') + .verify.elementPresent('[data-id="compilerContainerAutoCompile"]:checked') }) } })