aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/beta/metamask-beta-ui.spec.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-06-27 18:31:37 +0800
committerDan <danjm.com@gmail.com>2018-06-27 21:38:57 +0800
commit669f2437c7e65f0a6e7370bb3e265b3e4177e8d8 (patch)
tree732c71b65256d8b506573510d6c3aad090047e65 /test/e2e/beta/metamask-beta-ui.spec.js
parent9cc358a429b9fee5da4127dfb06f6020d4191d27 (diff)
downloadtangerine-wallet-browser-669f2437c7e65f0a6e7370bb3e265b3e4177e8d8.tar
tangerine-wallet-browser-669f2437c7e65f0a6e7370bb3e265b3e4177e8d8.tar.gz
tangerine-wallet-browser-669f2437c7e65f0a6e7370bb3e265b3e4177e8d8.tar.bz2
tangerine-wallet-browser-669f2437c7e65f0a6e7370bb3e265b3e4177e8d8.tar.lz
tangerine-wallet-browser-669f2437c7e65f0a6e7370bb3e265b3e4177e8d8.tar.xz
tangerine-wallet-browser-669f2437c7e65f0a6e7370bb3e265b3e4177e8d8.tar.zst
tangerine-wallet-browser-669f2437c7e65f0a6e7370bb3e265b3e4177e8d8.zip
Switch to eth and back before asserting on token balance (e2e beta token tests).
Diffstat (limited to 'test/e2e/beta/metamask-beta-ui.spec.js')
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js
index a8b273439..12a194e3a 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -778,7 +778,8 @@ describe('MetaMask', function () {
const txStatuses = await findElements(driver, By.css('.tx-list-status'))
await driver.wait(until.elementTextMatches(txStatuses[0], /Confirmed/))
- // const walletBalance = await findElement(driver, By.css('.wallet-balance'))
+ const walletBalance = await findElement(driver, By.css('.wallet-balance'))
+ await walletBalance.click()
const tokenListItems = await findElements(driver, By.css('.token-list-item'))
await tokenListItems[0].click()