pull/5370/head
filip mertens 2 years ago committed by bunsenstraat
parent 97fd4956d2
commit 9818a37bd9
  1. 7
      apps/remix-ide-e2e/src/tests/recorder.test.ts

@ -68,7 +68,7 @@ module.exports = {
})
},
'Record more than one contract #group1': function (browser: NightwatchBrowser) {
'Record more than one contract #group2': function (browser: NightwatchBrowser) {
// deploy 2 contracts (2 different ABIs), save the record, reexecute and test one of the function.
browser
.click('*[data-id="deployAndRunClearInstances"]')
@ -81,6 +81,7 @@ module.exports = {
.selectContract('t2est')
.pause(1000)
.createContract('')
.click('[data-id="udappRecorderTitleExpander"]')
.click('.savetransaction')
.waitForElementVisible('[data-id="udappNotify-modal-footer-ok-react"]')
.execute(function () {
@ -92,7 +93,7 @@ module.exports = {
.click('*[data-id="deployAndRunClearInstances"]') // clear udapp
.click('*[data-id="terminalClearConsole"]') // clear terminal
.click('[data-id="runtransaction"]')
.clickInstance(2)
.clickInstance(1)
.pause(1000)
.clickFunction('set2 - transact (not payable)', { types: 'uint256 _po', values: '10' })
.testFunction('last',
@ -103,7 +104,7 @@ module.exports = {
},
'Run with live "mode" #group1': function (browser: NightwatchBrowser) {
'Run with live "mode" #group2': function (browser: NightwatchBrowser) {
let addressRef: string
browser.addFile('scenario_live_mode.json', { content: JSON.stringify(liveModeScenario, null, '\t') })
.addFile('scenario_live_mode_storage.sol', { content: testStorageForLiveMode })

Loading…
Cancel
Save