diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-08-23 11:17:37 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-08-24 07:45:28 +0800 |
commit | 2d76ee754b1dd2473d744ce2dba2a3501c9a149c (patch) | |
tree | 528a17ddab5ef1056ca8c0744a4066a8c05483c4 /test | |
parent | bdfd54ec54e737adface6943d3edb03ce8fae9c2 (diff) | |
download | tangerine-wallet-browser-2d76ee754b1dd2473d744ce2dba2a3501c9a149c.tar tangerine-wallet-browser-2d76ee754b1dd2473d744ce2dba2a3501c9a149c.tar.gz tangerine-wallet-browser-2d76ee754b1dd2473d744ce2dba2a3501c9a149c.tar.bz2 tangerine-wallet-browser-2d76ee754b1dd2473d744ce2dba2a3501c9a149c.tar.lz tangerine-wallet-browser-2d76ee754b1dd2473d744ce2dba2a3501c9a149c.tar.xz tangerine-wallet-browser-2d76ee754b1dd2473d744ce2dba2a3501c9a149c.tar.zst tangerine-wallet-browser-2d76ee754b1dd2473d744ce2dba2a3501c9a149c.zip |
Reduce large timeouts
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/beta/metamask-beta-ui.spec.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js index 7f0391d33..d427318ce 100644 --- a/test/e2e/beta/metamask-beta-ui.spec.js +++ b/test/e2e/beta/metamask-beta-ui.spec.js @@ -503,7 +503,7 @@ describe('MetaMask', function () { driver.wait(async () => { const confirmedTxes = await findElements(driver, By.css('.transaction-list__completed-transactions .transaction-list-item')) return confirmedTxes.length === 3 - }, 200000) + }, 10000) const txAction = await findElements(driver, By.css('.transaction-list-item__action')) await driver.wait(until.elementTextMatches(txAction[0], /Contract\sDeployment/), 10000) @@ -560,7 +560,7 @@ describe('MetaMask', function () { driver.wait(async () => { const confirmedTxes = await findElements(driver, By.css('.transaction-list__completed-transactions .transaction-list-item')) return confirmedTxes.length === 4 - }, 200000) + }, 10000) const txValues = await findElements(driver, By.css('.transaction-list-item__amount--secondary')) await driver.wait(until.elementTextMatches(txValues[0], /-4\sETH/), 10000) @@ -592,7 +592,7 @@ describe('MetaMask', function () { driver.wait(async () => { const confirmedTxes = await findElements(driver, By.css('.transaction-list__completed-transactions .transaction-list-item')) return confirmedTxes.length === 5 - }, 200000) + }, 10000) const txValues = await findElement(driver, By.css('.transaction-list-item__amount--secondary')) await driver.wait(until.elementTextMatches(txValues, /-0\sETH/), 10000) @@ -759,7 +759,7 @@ describe('MetaMask', function () { driver.wait(async () => { const confirmedTxes = await findElements(driver, By.css('.transaction-list__completed-transactions .transaction-list-item')) return confirmedTxes.length === 1 - }, 200000) + }, 10000) const txStatuses = await findElements(driver, By.css('.transaction-list-item__action')) const tx = await driver.wait(until.elementTextMatches(txStatuses[0], /Sent\sToken|Failed/), 10000) assert.equal(await tx.getText(), 'Sent Tokens') @@ -837,7 +837,7 @@ describe('MetaMask', function () { driver.wait(async () => { const confirmedTxes = await findElements(driver, By.css('.transaction-list__completed-transactions .transaction-list-item')) return confirmedTxes.length === 2 - }, 200000) + }, 10000) const txValues = await findElements(driver, By.css('.transaction-list-item__amount--primary')) await driver.wait(until.elementTextMatches(txValues[0], /-7\sTST/)) @@ -960,7 +960,7 @@ describe('MetaMask', function () { driver.wait(async () => { const confirmedTxes = await findElements(driver, By.css('.transaction-list__completed-transactions .transaction-list-item')) return confirmedTxes.length === 3 - }, 200000) + }, 10000) const txValues = await findElements(driver, By.css('.transaction-list-item__amount--primary')) await driver.wait(until.elementTextMatches(txValues[0], /-7\sTST/)) |