aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/beta/metamask-beta-ui.spec.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-06-23 04:03:22 +0800
committerDan <danjm.com@gmail.com>2018-06-27 21:38:17 +0800
commit686d14f42d249f621d4f39d274c1c7c42473fac5 (patch)
treea5abfb4d62dbbb75dca9ad7656e5ba9f39dec6b3 /test/e2e/beta/metamask-beta-ui.spec.js
parent31bb8a0ab773449aae302a229489b5816fdb093c (diff)
downloadtangerine-wallet-browser-686d14f42d249f621d4f39d274c1c7c42473fac5.tar.gz
tangerine-wallet-browser-686d14f42d249f621d4f39d274c1c7c42473fac5.tar.zst
tangerine-wallet-browser-686d14f42d249f621d4f39d274c1c7c42473fac5.zip
Add timeouts to certain beta e2e driver.waits.
Diffstat (limited to 'test/e2e/beta/metamask-beta-ui.spec.js')
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js4
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 4f01f5b50..37ee99869 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -676,9 +676,9 @@ describe('MetaMask', function () {
const txValues = await findElements(driver, By.css('.tx-list-value'))
assert.equal(txValues.length, 1)
- await driver.wait(until.elementTextMatches(txValues[0], /50\sTST/))
+ await driver.wait(until.elementTextMatches(txValues[0], /50\sTST/), 10000)
const txStatuses = await findElements(driver, By.css('.tx-list-status'))
- const tx = await driver.wait(until.elementTextMatches(txStatuses[0], /Confirmed|Failed/))
+ const tx = await driver.wait(until.elementTextMatches(txStatuses[0], /Confirmed|Failed/), 10000)
assert.equal(await tx.getText(), 'Confirmed')
})
})