aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-08-17 03:46:40 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-08-24 07:45:28 +0800
commiteb17151ff4c668ff1a99bad696cd379ffc3d8f24 (patch)
tree6ff2e2055cfacbe8fa0472d007e9077fa4d46cb6 /test
parentc06a0be486a6a484929cd3f43fb766f5848ce9db (diff)
downloadtangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.tar
tangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.tar.gz
tangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.tar.bz2
tangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.tar.lz
tangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.tar.xz
tangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.tar.zst
tangerine-wallet-browser-eb17151ff4c668ff1a99bad696cd379ffc3d8f24.zip
Change "Outgoing" to "Sent Ether" or "Sent Token"
Diffstat (limited to 'test')
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js
index 60ab115a0..eede90ecd 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -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
- }, 10000)
+ }, 15000)
const txValues = await findElements(driver, By.css('.transaction-list-item__amount--secondary'))
await driver.wait(until.elementTextMatches(txValues[0], /-4\sETH/), 10000)
@@ -761,8 +761,8 @@ describe('MetaMask', function () {
return confirmedTxes.length === 1
}, 10000)
const txStatuses = await findElements(driver, By.css('.transaction-list-item__action'))
- const tx = await driver.wait(until.elementTextMatches(txStatuses[0], /Outgoing|Failed/), 10000)
- assert.equal(await tx.getText(), 'Outgoing')
+ const tx = await driver.wait(until.elementTextMatches(txStatuses[0], /Sent\sToken|Failed/), 10000)
+ assert.equal(await tx.getText(), 'Sent Tokens')
})
})
@@ -842,7 +842,7 @@ describe('MetaMask', function () {
const txValues = await findElements(driver, By.css('.transaction-list-item__amount--primary'))
await driver.wait(until.elementTextMatches(txValues[0], /-7\sTST/))
const txStatuses = await findElements(driver, By.css('.transaction-list-item__action'))
- await driver.wait(until.elementTextMatches(txStatuses[0], /Outgoing/))
+ await driver.wait(until.elementTextMatches(txStatuses[0], /Sent\sToken/))
const walletBalance = await findElement(driver, By.css('.wallet-balance'))
await walletBalance.click()