From 9cca0c560b24cc5cd471dce6bfc1dbe5057136e2 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)