aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e
diff options
context:
space:
mode:
authorThomas <thomas.b.huang@gmail.com>2018-05-30 09:20:54 +0800
committerThomas <thomas.b.huang@gmail.com>2018-05-30 09:20:54 +0800
commitf90ad6191cde32830cff4a82d3d8c6a31155bc29 (patch)
treec1b913752a2c3c91b6f40f4faeabe1abc416ffd2 /test/e2e
parent219cb83d94566a597f7ffa2ba34454460d2deb5d (diff)
downloadtangerine-wallet-browser-f90ad6191cde32830cff4a82d3d8c6a31155bc29.tar
tangerine-wallet-browser-f90ad6191cde32830cff4a82d3d8c6a31155bc29.tar.gz
tangerine-wallet-browser-f90ad6191cde32830cff4a82d3d8c6a31155bc29.tar.bz2
tangerine-wallet-browser-f90ad6191cde32830cff4a82d3d8c6a31155bc29.tar.lz
tangerine-wallet-browser-f90ad6191cde32830cff4a82d3d8c6a31155bc29.tar.xz
tangerine-wallet-browser-f90ad6191cde32830cff4a82d3d8c6a31155bc29.tar.zst
tangerine-wallet-browser-f90ad6191cde32830cff4a82d3d8c6a31155bc29.zip
Add account
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/metamask.spec.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/e2e/metamask.spec.js b/test/e2e/metamask.spec.js
index 8ec7de16c..d2ca29104 100644
--- a/test/e2e/metamask.spec.js
+++ b/test/e2e/metamask.spec.js
@@ -121,6 +121,12 @@ describe('Metamask popup page', function () {
await delay(300)
})
+ it('adds a second account', async function () {
+ await driver.findElement(By.css('#app-content > div > div.full-width > div > div:nth-child(2) > span > div')).click()
+ await delay(300)
+ await driver.findElement(By.css('#app-content > div > div.full-width > div > div:nth-child(2) > span > div > div > span > div > li:nth-child(3) > span')).click()
+ })
+
it('shows account address', async function () {
accountAddress = await driver.findElement(By.css('#app-content > div > div.app-primary.from-left > div > div > div:nth-child(1) > flex-column > div.flex-row > div')).getText()
})