|
|
@ -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') |
|
|
|