diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-08-17 02:06:53 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-08-24 07:45:28 +0800 |
commit | c06a0be486a6a484929cd3f43fb766f5848ce9db (patch) | |
tree | ed33c2ade160a3ed3b918d5e9096eeb5a54a7fc9 /test | |
parent | 62e2d5e01ce950e356c2438e112a1291df3b7039 (diff) | |
download | tangerine-wallet-browser-c06a0be486a6a484929cd3f43fb766f5848ce9db.tar.gz tangerine-wallet-browser-c06a0be486a6a484929cd3f43fb766f5848ce9db.tar.zst tangerine-wallet-browser-c06a0be486a6a484929cd3f43fb766f5848ce9db.zip |
Fix Firefox e2e tests
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/beta/metamask-beta-ui.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js index 6a2fb0186..60ab115a0 100644 --- a/test/e2e/beta/metamask-beta-ui.spec.js +++ b/test/e2e/beta/metamask-beta-ui.spec.js @@ -562,8 +562,8 @@ describe('MetaMask', function () { return confirmedTxes.length === 4 }, 10000) - const txValues = await findElement(driver, By.css('.transaction-list-item__amount--secondary')) - await driver.wait(until.elementTextMatches(txValues, /-4\sETH/), 10000) + const txValues = await findElements(driver, By.css('.transaction-list-item__amount--secondary')) + await driver.wait(until.elementTextMatches(txValues[0], /-4\sETH/), 10000) // const txAccounts = await findElements(driver, By.css('.tx-list-account')) // const firstTxAddress = await txAccounts[0].getText() |