aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2018-06-01 01:39:13 +0800
committerGitHub <noreply@github.com>2018-06-01 01:39:13 +0800
commit15f4ce352ddb88c43659ddd6fa29e53126d2a68c (patch)
treef96e1e8d130a045b88dd67af286b3e2a4ec5c9c6 /test
parent6d8344d0d0af3734255a0e9e79d857d84b5fe2aa (diff)
parent3745c1ea4fd62f092c7e277a16b9204b0c0ddaea (diff)
downloadtangerine-wallet-browser-15f4ce352ddb88c43659ddd6fa29e53126d2a68c.tar
tangerine-wallet-browser-15f4ce352ddb88c43659ddd6fa29e53126d2a68c.tar.gz
tangerine-wallet-browser-15f4ce352ddb88c43659ddd6fa29e53126d2a68c.tar.bz2
tangerine-wallet-browser-15f4ce352ddb88c43659ddd6fa29e53126d2a68c.tar.lz
tangerine-wallet-browser-15f4ce352ddb88c43659ddd6fa29e53126d2a68c.tar.xz
tangerine-wallet-browser-15f4ce352ddb88c43659ddd6fa29e53126d2a68c.tar.zst
tangerine-wallet-browser-15f4ce352ddb88c43659ddd6fa29e53126d2a68c.zip
Merge pull request #4386 from MetaMask/i4077-replace-currency-input-with-numeric-input
Replace currency-input.js with NumericInput
Diffstat (limited to 'test')
-rw-r--r--test/integration/lib/send-new-ui.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/lib/send-new-ui.js b/test/integration/lib/send-new-ui.js
index 3da3f4f95..ed1feec7d 100644
--- a/test/integration/lib/send-new-ui.js
+++ b/test/integration/lib/send-new-ui.js
@@ -101,7 +101,7 @@ async function runSendFlowTest(assert, done) {
const sendAmountField = await queryAsync($, '.send-v2__form-row:eq(2)')
sendAmountField.find('.currency-display')[0].click()
- const sendAmountFieldInput = await findAsync(sendAmountField, 'input:text')
+ const sendAmountFieldInput = await findAsync(sendAmountField, '.currency-display__input')
sendAmountFieldInput.val('5.1')
reactTriggerChange(sendAmountField.find('input')[0])
@@ -127,7 +127,7 @@ async function runSendFlowTest(assert, done) {
)
await customizeGas(assert, 0, 21000, '0', '$0.00 USD')
- await customizeGas(assert, 500, 60000, '0.003', '$3.60 USD')
+ await customizeGas(assert, 500, 60000, '0.03', '$36.03 USD')
const sendButton = await queryAsync($, 'button.btn-primary--lg.page-container__footer-button')
assert.equal(sendButton[0].textContent, 'Next', 'next button rendered')
@@ -165,7 +165,7 @@ async function runSendFlowTest(assert, done) {
const sendAmountFieldInEdit = await queryAsync($, '.send-v2__form-row:eq(2)')
sendAmountFieldInEdit.find('.currency-display')[0].click()
- const sendAmountFieldInputInEdit = sendAmountFieldInEdit.find('input:text')
+ const sendAmountFieldInputInEdit = sendAmountFieldInEdit.find('.currency-display__input')
sendAmountFieldInputInEdit.val('1.0')
reactTriggerChange(sendAmountFieldInputInEdit[0])