fix browser test

pull/1/head
yann300 6 years ago
parent 679060c8c0
commit bf95e60060
  1. 8
      test-browser/helpers/init.js

@ -21,10 +21,10 @@ function initModules (browser, callback) {
.execute(function () { .execute(function () {
document.querySelector('div[title="pluginManager"]').scrollTop = document.querySelector('div[title="pluginManager"]').scrollHeight document.querySelector('div[title="pluginManager"]').scrollTop = document.querySelector('div[title="pluginManager"]').scrollHeight
}, [], function () { }, [], function () {
browser.click('#pluginManager div[title="solidity"] button') browser.click('#pluginManager article[title="solidity"] button')
.click('#pluginManager div[title="run"] button') .click('#pluginManager article[title="run"] button')
.click('#pluginManager div[title="solidityStaticAnalysis"] button') .click('#pluginManager article[title="solidityStaticAnalysis"] button')
.click('#pluginManager div[title="debugger"] button') .click('#pluginManager article[title="debugger"] button')
.click('#icon-panel div[title="fileExplorers"]') .click('#icon-panel div[title="fileExplorers"]')
.perform(() => { callback() }) .perform(() => { callback() })
}) })

Loading…
Cancel
Save