diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-05-31 01:12:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-31 01:12:20 +0800 |
commit | b5c91d240bd111cec07bc40dd26cfb1741e88d62 (patch) | |
tree | eb4e803ed0a5914ae8b53059bff2027cd5207596 | |
parent | d40971e7f30f86629f661a53e4c7b51f34397d87 (diff) | |
parent | be6776897f16ab73fd6b363a1a9bc685c3afddcd (diff) | |
download | tangerine-wallet-browser-b5c91d240bd111cec07bc40dd26cfb1741e88d62.tar tangerine-wallet-browser-b5c91d240bd111cec07bc40dd26cfb1741e88d62.tar.gz tangerine-wallet-browser-b5c91d240bd111cec07bc40dd26cfb1741e88d62.tar.bz2 tangerine-wallet-browser-b5c91d240bd111cec07bc40dd26cfb1741e88d62.tar.lz tangerine-wallet-browser-b5c91d240bd111cec07bc40dd26cfb1741e88d62.tar.xz tangerine-wallet-browser-b5c91d240bd111cec07bc40dd26cfb1741e88d62.tar.zst tangerine-wallet-browser-b5c91d240bd111cec07bc40dd26cfb1741e88d62.zip |
Merge pull request #4407 from MetaMask/e2e-test
Adds account in e2e test
-rw-r--r-- | test/e2e/metamask.spec.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/e2e/metamask.spec.js b/test/e2e/metamask.spec.js index 8ec7de16c..a08a34d96 100644 --- a/test/e2e/metamask.spec.js +++ b/test/e2e/metamask.spec.js @@ -121,7 +121,14 @@ 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 () { + await delay(300) 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() }) |