pull/1/head
yann300 6 years ago
parent aa780b1e89
commit 8ce5561f58
  1. 2
      test-browser/helpers/init.js
  2. 1
      test-browser/tests/simpleContract.js

@ -19,7 +19,7 @@ module.exports = function (browser, callback) {
function initModules (browser, callback) {
browser.click('#icon-panel div[plugin="pluginManager"]')
.execute(function () {
document.querySelector('div[title="pluginManager"]').scrollTop = document.querySelector('div[title="pluginManager"]').scrollHeight
document.querySelector('div[id="pluginManager"]').scrollTop = document.querySelector('div[id="pluginManager"]').scrollHeight
}, [], function () {
browser.click('#pluginManager article[title="solidity"] button')
.click('#pluginManager article[title="run"] button')

@ -25,7 +25,6 @@ function runTests (browser) {
.waitForElementVisible('#icon-panel', 10000)
.clickLaunchIcon('solidity')
.clickLaunchIcon('fileExplorers')
.click('#swap-panel label[data-path="browser"]')
.perform(() => {
// the first fn is used to pass browser to the other ones.
async.waterfall([function (callback) { callback(null, browser) },

Loading…
Cancel
Save