Update terminal.test.ts

pull/5623/head
FT 2 months ago committed by Aniket
parent 07c27d5111
commit dc85e4e07e
  1. 6
      apps/remix-ide-e2e/src/tests/terminal.test.ts

@ -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) {

Loading…
Cancel
Save