|
|
|
@ -81,7 +81,10 @@ module.exports = { |
|
|
|
|
instanceAddress = address |
|
|
|
|
browser |
|
|
|
|
.waitForElementVisible(`#instance${instanceAddress} [data-id="instanceContractBal"]`) |
|
|
|
|
.assert.containsText(`#instance${instanceAddress} [data-id="instanceContractBal"]`, 'Balance:') |
|
|
|
|
.assert.containsText(`#instance${instanceAddress} [data-id="instanceContractBal"]`, 'Balance: 0.000000000000000111 ETH') |
|
|
|
|
.clickFunction('sendSomeEther - transact (not payable)', { types: 'uint256 num', values: '2' }) |
|
|
|
|
.pause(1000) |
|
|
|
|
.assert.containsText(`#instance${instanceAddress} [data-id="instanceContractBal"]`, 'Balance: 0.000000000000000109 ETH') |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|