|
|
|
@ -32,10 +32,10 @@ function runTests (browser, testData) { |
|
|
|
|
.click('.runView') |
|
|
|
|
.setValue('input[placeholder="uint8 _numProposals"]', '1', () => {}) |
|
|
|
|
.click('#runTabView div[class^="create"]') |
|
|
|
|
.testFunction('delegate - transact (not payable)', '0xd3cd54e2f76f3993078ecf9e1b54a148def4520afc141a182293b3610bddf10f', |
|
|
|
|
'[vm] from:0xca3...a733c, to:Ballot.delegate(address) 0x692...77b3a, value:0 wei, data:0x5c1...4d2db, 0 logs, hash:0xd3c...df10f', |
|
|
|
|
.testFunction('delegate - transact (not payable)', '0x0571a2439ea58bd349dd130afb8aff62a33af14c06de0dbc3928519bdf13ce2e', |
|
|
|
|
'[vm] from:0xca3...a733c, to:Ballot.delegate(address) 0x692...77b3a, value:0 wei, data:0x5c1...4d2db, 0 logs, hash:0x057...3ce2e', |
|
|
|
|
{types: 'address to', values: '"0x4b0897b0513fdc7c541b6d9d7e929c4e5364d2db"'}, null, null) |
|
|
|
|
.click('span#tx0xd3cd54e2f76f3993078ecf9e1b54a148def4520afc141a182293b3610bddf10f button[class^="debug"]') |
|
|
|
|
.click('span#tx0x0571a2439ea58bd349dd130afb8aff62a33af14c06de0dbc3928519bdf13ce2e button[class^="debug"]') |
|
|
|
|
.pause(1000) |
|
|
|
|
.click('#jumppreviousbreakpoint') |
|
|
|
|
.click('#stepdetail .title') |
|
|
|
@ -62,10 +62,9 @@ function runTests (browser, testData) { |
|
|
|
|
.perform(function (client, done) { |
|
|
|
|
contractHelper.addFile(client, 'ballot.abi', { content: ballotABI }, () => { |
|
|
|
|
contractHelper.addInstance(client, '0x692a70d2e424a56d2c6c27aa97d1a86395877b3a', () => { |
|
|
|
|
browser.testFunction('delegate - transact (not payable)', '0x7a9ebc90614274b7eb6b072f9bba7825e588cf88ae00598cfdbc4c215b88433e', |
|
|
|
|
'[vm] from:0xca3...a733c, to:Ballot.delegate(address) 0x692...77b3a, value:0 wei, data:0x5c1...4d2db, 0 logs, hash:0x7a9...8433e', |
|
|
|
|
browser.testFunction('delegate - transact (not payable)', '0xd3cd54e2f76f3993078ecf9e1b54a148def4520afc141a182293b3610bddf10f', |
|
|
|
|
'[vm] from:0xca3...a733c, to:Ballot.delegate(address) 0x692...77b3a, value:0 wei, data:0x5c1...4d2db, 0 logs, hash:0xd3c...df10f', |
|
|
|
|
{types: 'address to', values: '"0x4b0897b0513fdc7c541b6d9d7e929c4e5364d2db"'}, null, null).perform(() => { |
|
|
|
|
done() |
|
|
|
|
browser.end() |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|