partest
bunsenstraat 4 weeks ago
parent 1eef7033d9
commit 4d0428c722
  1. 5
      apps/remix-ide-e2e/src/tests/metamask.test.ts

@ -332,8 +332,9 @@ const tests = {
browser browser
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000) .waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000)
.clickLaunchIcon('debugger') .clickLaunchIcon('debugger')
.waitForElementVisible('*[data-id="debuggerTransactionInput"]')
.setValue('*[data-id="debuggerTransactionInput"]', txhash) // debug tx .setValue('*[data-id="debuggerTransactionInput"]', txhash) // debug tx
.pause() .pause(2000)
.saveScreenshot('./reports/screenshots/metamask_debug.png') .saveScreenshot('./reports/screenshots/metamask_debug.png')
.saveScreenshot('./reports/screenshots/metamask_2.png') .saveScreenshot('./reports/screenshots/metamask_2.png')
.click('*[data-id="debuggerTransactionStartButton"]') .click('*[data-id="debuggerTransactionStartButton"]')
@ -344,7 +345,7 @@ const tests = {
}) })
}, },
'Call web3.eth.getAccounts() using Injected Provider (Metamask) #group4': !function (browser: NightwatchBrowser) { 'Call web3.eth.getAccounts() using Injected Provider (Metamask) #group3': function (browser: NightwatchBrowser) {
if (!checkBrowserIsChrome(browser)) return if (!checkBrowserIsChrome(browser)) return
browser browser
.executeScriptInTerminal('web3.eth.getAccounts()') .executeScriptInTerminal('web3.eth.getAccounts()')

Loading…
Cancel
Save