fixed the test

pull/353/head
LianaHus 4 years ago
parent 1cc8ac9caf
commit 4a67cfd82e
  1. 3
      apps/remix-ide/test-browser/helpers/init.js

@ -11,8 +11,9 @@ module.exports = function (browser, callback, url, preloadPlugins = true) {
console.log('preloadPlugins: ', preloadPlugins) console.log('preloadPlugins: ', preloadPlugins)
initModules(browser, () => { initModules(browser, () => {
browser.clickLaunchIcon('solidity') browser.clickLaunchIcon('solidity')
.waitForElementPresent('[for="autoCompile"]') .waitForElementVisible('[for="autoCompile"]')
.click('[for="autoCompile"]') .click('[for="autoCompile"]')
.verify.elementPresent('[data-id="compilerContainerAutoCompile"]:checked')
}) })
} }
}) })

Loading…
Cancel
Save