reverted wrong fix

pull/1/head
Liana Husikyan 6 years ago committed by GitHub
parent 7b20bc802d
commit 1e6adb33d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      test-browser/helpers/contracts.js

@ -142,12 +142,12 @@ function getAddressAtPosition (browser, index, callback) {
}
function testConstantFunction (browser, address, fnFullName, expectedInput, expectedOutput, cb) {
browser.waitForElementPresent('.instance button[plugin="' + fnFullName + '"]').perform(function (client, done) {
browser.waitForElementPresent('.instance button[title="' + fnFullName + '"]').perform(function (client, done) {
client.execute(function () {
document.querySelector('#runTabView').scrollTop = document.querySelector('#runTabView').scrollHeight
}, [], function () {
if (expectedInput) {
client.setValue('#runTabView input[plugin="' + expectedInput.types + '"]', expectedInput.values, function () {})
client.setValue('#runTabView input[title="' + expectedInput.types + '"]', expectedInput.values, function () {})
}
done()
})

Loading…
Cancel
Save