From 0d35a3798466e88e8e8827b8fb964b649137b9e1 Mon Sep 17 00:00:00 2001 From: ninabreznik Date: Sun, 11 Feb 2018 13:50:49 +0000 Subject: [PATCH] Update tests for terminal logs --- test-browser/helpers/contracts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-browser/helpers/contracts.js b/test-browser/helpers/contracts.js index 17bcce0874..8ae0dec9a8 100644 --- a/test-browser/helpers/contracts.js +++ b/test-browser/helpers/contracts.js @@ -132,7 +132,7 @@ function testFunction (fnFullName, txHash, log, expectedInput, expectedReturn, e .pause(500) .waitForElementPresent('#editor-container div[class^="terminal"] span[id="tx' + txHash + '"]') .assert.containsText('#editor-container div[class^="terminal"] span[id="tx' + txHash + '"] span', log) - .click('#editor-container div[class^="terminal"] span[id="tx' + txHash + '"] button[class^="details"]') + .click('#editor-container div[class^="terminal"] span[id="tx' + txHash + '"] i[class^="caret"]') .perform(function (client, done) { if (expectedReturn) { client.assert.containsText('#editor-container div[class^="terminal"] span[id="tx' + txHash + '"] table[class^="txTable"] #decodedoutput', expectedReturn)