diff --git a/test-browser/helpers/contracts.js b/test-browser/helpers/contracts.js index c76cf6f361..949afb0217 100644 --- a/test-browser/helpers/contracts.js +++ b/test-browser/helpers/contracts.js @@ -152,7 +152,7 @@ function testConstantFunction (browser, address, fnFullName, expectedInput, expe done() }) }) - .click('.instance button[plugin="' + fnFullName + '"]') + .click('.instance button[title="' + fnFullName + '"]') .pause(1000) .waitForElementPresent('#instance' + address + ' div[class^="contractActionsContainer"] div[class^="value"]') .scrollInto('#instance' + address + ' div[class^="contractActionsContainer"] div[class^="value"]')