From 1e6adb33d7e57dbbd2cad62fd1ccccfd4024d8b8 Mon Sep 17 00:00:00 2001 From: Liana Husikyan Date: Wed, 29 May 2019 20:58:26 +0200 Subject: [PATCH] reverted wrong fix --- test-browser/helpers/contracts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-browser/helpers/contracts.js b/test-browser/helpers/contracts.js index 36273b4080..c76cf6f361 100644 --- a/test-browser/helpers/contracts.js +++ b/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() })