aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/beta
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-06-14 15:23:38 +0800
committerkumavis <aaron@kumavis.me>2018-06-14 15:23:38 +0800
commit564bb9f6529b08ffd43c354edf640d64617a7493 (patch)
treea8ad25be876d4e9854645ea9016733a8351def60 /test/e2e/beta
parent722c5ae82153d2bcf3c34037e13d3d5f430920f2 (diff)
downloadtangerine-wallet-browser-564bb9f6529b08ffd43c354edf640d64617a7493.tar
tangerine-wallet-browser-564bb9f6529b08ffd43c354edf640d64617a7493.tar.gz
tangerine-wallet-browser-564bb9f6529b08ffd43c354edf640d64617a7493.tar.bz2
tangerine-wallet-browser-564bb9f6529b08ffd43c354edf640d64617a7493.tar.lz
tangerine-wallet-browser-564bb9f6529b08ffd43c354edf640d64617a7493.tar.xz
tangerine-wallet-browser-564bb9f6529b08ffd43c354edf640d64617a7493.tar.zst
tangerine-wallet-browser-564bb9f6529b08ffd43c354edf640d64617a7493.zip
test - e2e - clear phishing warning
Diffstat (limited to 'test/e2e/beta')
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js3
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)