more screens

partest
bunsenstraat 4 weeks ago committed by bunsenstraat
parent c842bcd455
commit 5d23b44262
  1. 3
      apps/remix-ide-e2e/src/tests/metamask.test.ts

@ -109,13 +109,16 @@ const tests = {
.maximizeWindow()
.hideMetaMaskPopup()
.saveScreenshot('./reports/screenshots/metamask_tr1.png')
.pause(3000)
.scrollAndClick('[data-testid="page-container-footer-next"]')
//.waitForElementPresent('[data-testid="page-container-footer-next"]')
.saveScreenshot('./reports/screenshots/metamask_tr2.png')
.pause(2000)
//.click('[data-testid="page-container-footer-next"]') // approve the tx
.switchBrowserTab(0) // back to remix
.waitForElementContainsText('*[data-id="terminalJournal"]', 'view on etherscan', 60000)
.waitForElementContainsText('*[data-id="terminalJournal"]', 'from: 0x76a...2708f', 60000)
.saveScreenshot('./reports/screenshots/metamask_tr3.png')
.perform(() => done())
})
})

Loading…
Cancel
Save