|
|
|
@ -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()) |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|