|
|
|
@ -130,20 +130,17 @@ module.exports = { |
|
|
|
|
browser.waitForElementVisible('#icon-panel', 10000) |
|
|
|
|
.testContracts('receiveAndFallbackBothPayable.sol', sources[4]['browser/receiveAndFallbackBothPayable.sol'], ['CheckSpecials']) |
|
|
|
|
.clickLaunchIcon('udapp') |
|
|
|
|
.pause(10000) |
|
|
|
|
.selectContract('CheckSpecials') |
|
|
|
|
.pause(10000) |
|
|
|
|
.waitForElementVisible('#value') |
|
|
|
|
.clearValue('#value') |
|
|
|
|
.setValue('#value', 0) |
|
|
|
|
.createContract('') |
|
|
|
|
.pause(10000) |
|
|
|
|
.clickInstance(4) |
|
|
|
|
.pause(10000) |
|
|
|
|
.perform((done) => { |
|
|
|
|
browser.getAddressAtPosition(4, (address) => { |
|
|
|
|
browser.sendLowLevelTx(address, '1', '0xaa') |
|
|
|
|
.pause(100000) |
|
|
|
|
.pause(1000) |
|
|
|
|
.journalLastChildIncludes('to:CheckSpecials.(fallback)') |
|
|
|
|
.journalLastChildIncludes('value:1 wei') |
|
|
|
|
.journalLastChildIncludes('data:0xaa') |
|
|
|
|