aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-06-14 15:36:14 +0800
committerkumavis <aaron@kumavis.me>2018-06-14 15:36:14 +0800
commite95fed06b7162f380317e2a5dedfae5bc8a58e26 (patch)
tree5c559e4d7b4fc7f3e9a8ce76cf4865172af31da4
parent564bb9f6529b08ffd43c354edf640d64617a7493 (diff)
downloadtangerine-wallet-browser-e95fed06b7162f380317e2a5dedfae5bc8a58e26.tar
tangerine-wallet-browser-e95fed06b7162f380317e2a5dedfae5bc8a58e26.tar.gz
tangerine-wallet-browser-e95fed06b7162f380317e2a5dedfae5bc8a58e26.tar.bz2
tangerine-wallet-browser-e95fed06b7162f380317e2a5dedfae5bc8a58e26.tar.lz
tangerine-wallet-browser-e95fed06b7162f380317e2a5dedfae5bc8a58e26.tar.xz
tangerine-wallet-browser-e95fed06b7162f380317e2a5dedfae5bc8a58e26.tar.zst
tangerine-wallet-browser-e95fed06b7162f380317e2a5dedfae5bc8a58e26.zip
test - e2e-beta - separate notice tests into individual tests
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js
index cf081e696..d911b91ed 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -128,7 +128,7 @@ describe('MetaMask', function () {
await delay(regularDelayMs)
})
- it('clicks through the privacy notice', async () => {
+ it('clicks through the ToS', async () => {
// terms of use
const canClickThrough = await driver.findElement(By.css('.tou button')).isEnabled()
assert.equal(canClickThrough, false, 'disabled continue button')
@@ -138,12 +138,16 @@ describe('MetaMask', function () {
const acceptTos = await findElement(driver, By.css('.tou button'))
await acceptTos.click()
await delay(regularDelayMs)
+ })
+ it('clicks through the privacy notice', async () => {
// privacy notice
const nextScreen = await findElement(driver, By.css('.tou button'))
await nextScreen.click()
await delay(regularDelayMs)
+ })
+ it('clicks through the phishing notice', async () => {
// phishing notice
const noticeElement = await driver.findElement(By.css('.markdown'))
await driver.executeScript('arguments[0].scrollTop = arguments[0].scrollHeight', noticeElement)