aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-10-21 19:12:40 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-10-21 22:01:20 +0800
commit614995c0e933fcc984126eee20fb7dd4533e8e5b (patch)
tree7f2b29433e6df871122b74770e1106206889274f /test/integration
parentba3617b685b9dcd8a62e0009ee2015c5997fead3 (diff)
downloadtangerine-wallet-browser-614995c0e933fcc984126eee20fb7dd4533e8e5b.tar
tangerine-wallet-browser-614995c0e933fcc984126eee20fb7dd4533e8e5b.tar.gz
tangerine-wallet-browser-614995c0e933fcc984126eee20fb7dd4533e8e5b.tar.bz2
tangerine-wallet-browser-614995c0e933fcc984126eee20fb7dd4533e8e5b.tar.lz
tangerine-wallet-browser-614995c0e933fcc984126eee20fb7dd4533e8e5b.tar.xz
tangerine-wallet-browser-614995c0e933fcc984126eee20fb7dd4533e8e5b.tar.zst
tangerine-wallet-browser-614995c0e933fcc984126eee20fb7dd4533e8e5b.zip
Fix account display width for large currency values
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/lib/currency-localization.js2
-rw-r--r--test/integration/lib/send-new-ui.js6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/integration/lib/currency-localization.js b/test/integration/lib/currency-localization.js
index 8d5acf5d0..f6b751ba2 100644
--- a/test/integration/lib/currency-localization.js
+++ b/test/integration/lib/currency-localization.js
@@ -25,5 +25,5 @@ async function runCurrencyLocalizationTest (assert, done) {
const txView = await queryAsync($, '.transaction-view')
const heroBalance = await findAsync($(txView), '.transaction-view-balance__balance')
const fiatAmount = await findAsync($(heroBalance), '.transaction-view-balance__secondary-balance')
- assert.equal(fiatAmount[0].textContent, '₱102,707.97 PHP')
+ assert.equal(fiatAmount[0].textContent, '₱102,707.97PHP')
}
diff --git a/test/integration/lib/send-new-ui.js b/test/integration/lib/send-new-ui.js
index e13016e68..271dd91cf 100644
--- a/test/integration/lib/send-new-ui.js
+++ b/test/integration/lib/send-new-ui.js
@@ -112,9 +112,9 @@ async function runSendFlowTest (assert, done) {
errorMessage = $('.send-v2__error')
assert.equal(errorMessage.length, 0, 'send should stop rendering amount error message after amount is corrected')
- await customizeGas(assert, 0, 21000, '0 ETH', '$0.00 USD')
- await customizeGas(assert, 1, 21000, '0.000021 ETH', '$0.03 USD')
- await customizeGas(assert, 500, 60000, '0.03 ETH', '$36.03 USD')
+ await customizeGas(assert, 0, 21000, '0ETH', '$0.00USD')
+ await customizeGas(assert, 1, 21000, '0.000021ETH', '$0.03USD')
+ await customizeGas(assert, 500, 60000, '0.03ETH', '$36.03USD')
const sendButton = await queryAsync($, 'button.btn-primary.btn--large.page-container__footer-button')
assert.equal(sendButton[0].textContent, 'Next', 'next button rendered')