aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration/lib/send-new-ui.js
diff options
context:
space:
mode:
authorDan Finlay <542863+danfinlay@users.noreply.github.com>2018-04-18 04:46:24 +0800
committerGitHub <noreply@github.com>2018-04-18 04:46:24 +0800
commit2ce33a3eee5383681b638ef6c426c46b65c6fa79 (patch)
tree096c6a8f7e12c5ece8bb64af1466bb2d94b6e5d3 /test/integration/lib/send-new-ui.js
parent7b70804aa0d74120098a4bcb2c375d29080e8368 (diff)
parent6ee57dcad70057b1f71b9abe53d9d4965cbbe3e8 (diff)
downloadtangerine-wallet-browser-2ce33a3eee5383681b638ef6c426c46b65c6fa79.tar
tangerine-wallet-browser-2ce33a3eee5383681b638ef6c426c46b65c6fa79.tar.gz
tangerine-wallet-browser-2ce33a3eee5383681b638ef6c426c46b65c6fa79.tar.bz2
tangerine-wallet-browser-2ce33a3eee5383681b638ef6c426c46b65c6fa79.tar.lz
tangerine-wallet-browser-2ce33a3eee5383681b638ef6c426c46b65c6fa79.tar.xz
tangerine-wallet-browser-2ce33a3eee5383681b638ef6c426c46b65c6fa79.tar.zst
tangerine-wallet-browser-2ce33a3eee5383681b638ef6c426c46b65c6fa79.zip
Merge pull request #3853 from MetaMask/i3580-InternationalizeCurrency
Internationalize currency
Diffstat (limited to 'test/integration/lib/send-new-ui.js')
-rw-r--r--test/integration/lib/send-new-ui.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/integration/lib/send-new-ui.js b/test/integration/lib/send-new-ui.js
index 4731117d7..09a074750 100644
--- a/test/integration/lib/send-new-ui.js
+++ b/test/integration/lib/send-new-ui.js
@@ -91,7 +91,7 @@ async function runSendFlowTest(assert, done) {
)
assert.equal(
sendGasField.find('.currency-display__converted-value')[0].textContent,
- '0.24 USD',
+ '$0.24 USD',
'send gas field should show estimated gas total converted to USD'
)
@@ -118,7 +118,7 @@ async function runSendFlowTest(assert, done) {
)
assert.equal(
(await findAsync(sendGasField, '.currency-display__converted-value'))[0].textContent,
- '3.60 USD',
+ '$3.60 USD',
'send gas field should show customized gas total converted to USD'
)
@@ -138,9 +138,9 @@ async function runSendFlowTest(assert, done) {
const confirmScreenRows = await queryAsync($, '.confirm-screen-rows')
const confirmScreenGas = confirmScreenRows.find('.currency-display__converted-value')[0]
- assert.equal(confirmScreenGas.textContent, '3.60 USD', 'confirm screen should show correct gas')
+ assert.equal(confirmScreenGas.textContent, '$3.60 USD', 'confirm screen should show correct gas')
const confirmScreenTotal = confirmScreenRows.find('.confirm-screen-row-info')[2]
- assert.equal(confirmScreenTotal.textContent, '2405.36 USD', 'confirm screen should show correct total')
+ assert.equal(confirmScreenTotal.textContent, '$2,405.36 USD', 'confirm screen should show correct total')
const confirmScreenBackButton = await queryAsync($, '.page-container__back-button')
confirmScreenBackButton[0].click()