diff options
test - e2e - clear phishing warning
Diffstat (limited to 'test/e2e/beta')
-rw-r--r-- | test/e2e/beta/metamask-beta-ui.spec.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js index 0d304cf14..cf081e696 100644 --- a/test/e2e/beta/metamask-beta-ui.spec.js +++ b/test/e2e/beta/metamask-beta-ui.spec.js @@ -145,6 +145,9 @@ describe('MetaMask', function () { await delay(regularDelayMs) // phishing notice + const noticeElement = await driver.findElement(By.css('.markdown')) + await driver.executeScript('arguments[0].scrollTop = arguments[0].scrollHeight', noticeElement) + await delay(regularDelayMs) const nextScreen = await findElement(driver, By.css('.tou button')) await nextScreen.click() await delay(regularDelayMs) |