aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSantiago Gonzalez Toral <hernangt12re3@gmail.com>2018-10-03 09:29:03 +0800
committerDan Finlay <542863+danfinlay@users.noreply.github.com>2018-10-10 10:43:41 +0800
commitf88373237bebbaf286cab9085871166307ae9ab1 (patch)
tree748edc971439118548ea6ac62f987bc3c74172ec /test
parent23fa223040984cc146f2b8b6f78ccfee30c2759d (diff)
downloadtangerine-wallet-browser-f88373237bebbaf286cab9085871166307ae9ab1.tar.gz
tangerine-wallet-browser-f88373237bebbaf286cab9085871166307ae9ab1.tar.zst
tangerine-wallet-browser-f88373237bebbaf286cab9085871166307ae9ab1.zip
Added account options on home screen
Diffstat (limited to 'test')
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js
index ecad3e8fd..8d1ecac0d 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -271,6 +271,17 @@ describe('MetaMask', function () {
await driver.wait(until.stalenessOf(accountModal))
await delay(regularDelayMs)
})
+ it('show account details dropdown menu', async () => {
+
+ const {width, height} = await driver.manage().window().getSize()
+ driver.manage().window().setSize(320, 480)
+ await driver.findElement(By.css('div.menu-bar__open-in-browser')).click()
+ const options = await driver.findElements(By.css('div.menu.account-details-dropdown div.menu__item'))
+ assert.equal(options.length, 3) // HD Wallet type does not have to show the Remove Account option
+ await delay(regularDelayMs)
+ driver.manage().window().setSize(width, height)
+
+ })
})
describe('Log out an log back in', () => {