aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/beta
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-06-28 01:10:16 +0800
committerDan <danjm.com@gmail.com>2018-06-28 01:10:16 +0800
commit8a96dc0c48f966f0a222ddc0b95e3385468b1e12 (patch)
treebb5bc7d63fc81c348957dfc8c90c09a7a067ba7e /test/e2e/beta
parent0cdfbb450364d986bd9bee680f16b8a3ab236fbe (diff)
downloadtangerine-wallet-browser-8a96dc0c48f966f0a222ddc0b95e3385468b1e12.tar
tangerine-wallet-browser-8a96dc0c48f966f0a222ddc0b95e3385468b1e12.tar.gz
tangerine-wallet-browser-8a96dc0c48f966f0a222ddc0b95e3385468b1e12.tar.bz2
tangerine-wallet-browser-8a96dc0c48f966f0a222ddc0b95e3385468b1e12.tar.lz
tangerine-wallet-browser-8a96dc0c48f966f0a222ddc0b95e3385468b1e12.tar.xz
tangerine-wallet-browser-8a96dc0c48f966f0a222ddc0b95e3385468b1e12.tar.zst
tangerine-wallet-browser-8a96dc0c48f966f0a222ddc0b95e3385468b1e12.zip
Turn off failing e2e beta assertion in firefox until bugs in webdriver/geckodriver are resolved.
Diffstat (limited to 'test/e2e/beta')
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js
index 669cc8fce..387d8c348 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -787,8 +787,12 @@ describe('MetaMask', function () {
const tokenListItems = await findElements(driver, By.css('.token-list-item'))
await tokenListItems[0].click()
- const tokenBalanceAmount = await findElement(driver, By.css('.token-balance__amount'))
- assert.equal(await tokenBalanceAmount.getText(), '24')
+ // test cancelled on firefox until https://github.com/mozilla/geckodriver/issues/906 is resolved,
+ // or possibly until we use latest version of firefox in the tests
+ if (process.env.SELENIUM_BROWSER !== 'firefox') {
+ const tokenBalanceAmount = await findElement(driver, By.css('.token-balance__amount'))
+ assert.equal(await tokenBalanceAmount.getText(), '24')
+ }
})
})