Update tests for terminal logs

pull/3094/head
ninabreznik 7 years ago committed by yann300
parent ea49c933fb
commit 9cca0c560b
  1. 2
      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)

Loading…
Cancel
Save