Update compiling.js

pull/1/head
yann300 8 years ago committed by GitHub
parent 33226bff73
commit 15e050f1cf
  1. 6
      test-browser/tests/compiling.js

@ -30,11 +30,7 @@ function runTests (browser) {
contractHelper.testContracts(browser, sources.sources.Untitled, ['Untitled:TestContract'], function () { contractHelper.testContracts(browser, sources.sources.Untitled, ['Untitled:TestContract'], function () {
browser.click('.create .constructor .call') browser.click('.create .constructor .call')
.waitForElementPresent('.instance .call[title="f"]') .waitForElementPresent('.instance .call[title="f"]')
if (browser.options.desiredCapabilities.browserName === 'internet explorer') { .click('.instance .call[title="f"]')
browser.end()
return
}
browser.click('.instance .call[title="f"]')
.waitForElementPresent('.output .returned') .waitForElementPresent('.output .returned')
.assert.containsText('.output .returned', '0x0000000000000000000000000000000000000000000000000000000000000008') .assert.containsText('.output .returned', '0x0000000000000000000000000000000000000000000000000000000000000008')
.assert.containsText('.output .decoded li', 'uint256: 8') .assert.containsText('.output .decoded li', 'uint256: 8')

Loading…
Cancel
Save