|
|
|
@ -183,16 +183,16 @@ module.exports = { |
|
|
|
|
.selectContract('OwnerTest') |
|
|
|
|
.createContract('') |
|
|
|
|
.pause(1000) |
|
|
|
|
.journalChildIncludes('constructor', { shouldHaveOnlyOneOccurence: true }) |
|
|
|
|
.journalChildIncludes('constructor', { shouldHaveOnlyOneOccurrence: true }) |
|
|
|
|
.pause(5000) |
|
|
|
|
.click('*[data-id="terminalClearConsole"]') // clear the terminal
|
|
|
|
|
.clickInstance(0) |
|
|
|
|
.clickFunction('changeOwner - transact (not payable)', { types: 'address newOwner', values: '0xd9145CCE52D386f254917e481eB44e9943F39138' }) |
|
|
|
|
.pause(1000) |
|
|
|
|
.journalChildIncludes('inside changeOwner', { shouldHaveOnlyOneOccurence: true }) |
|
|
|
|
.journalChildIncludes('inside changeOwner', { shouldHaveOnlyOneOccurrence: true }) |
|
|
|
|
.clickFunction('getOwner - call') |
|
|
|
|
.pause(1000) |
|
|
|
|
.journalChildIncludes('inside getOwner', { shouldHaveOnlyOneOccurence: true }) |
|
|
|
|
.journalChildIncludes('inside getOwner', { shouldHaveOnlyOneOccurrence: true }) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
'Emit 2 similar events and check the filtering is done properly #group4': function (browser: NightwatchBrowser) { |
|
|
|
|