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