aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-06-01 01:59:17 +0800
committerDan <danjm.com@gmail.com>2018-06-01 01:59:17 +0800
commitd12bb8c14fccadef5ef8e3d40ccb262c9fa9db74 (patch)
tree7914db5005773d1553338e64e2fbc2250d453534 /test
parent5091b03e4b2499697cda376a44405139827068cd (diff)
parent15f4ce352ddb88c43659ddd6fa29e53126d2a68c (diff)
downloadtangerine-wallet-browser-d12bb8c14fccadef5ef8e3d40ccb262c9fa9db74.tar
tangerine-wallet-browser-d12bb8c14fccadef5ef8e3d40ccb262c9fa9db74.tar.gz
tangerine-wallet-browser-d12bb8c14fccadef5ef8e3d40ccb262c9fa9db74.tar.bz2
tangerine-wallet-browser-d12bb8c14fccadef5ef8e3d40ccb262c9fa9db74.tar.lz
tangerine-wallet-browser-d12bb8c14fccadef5ef8e3d40ccb262c9fa9db74.tar.xz
tangerine-wallet-browser-d12bb8c14fccadef5ef8e3d40ccb262c9fa9db74.tar.zst
tangerine-wallet-browser-d12bb8c14fccadef5ef8e3d40ccb262c9fa9db74.zip
Merge branch 'i3725-refactor-send-component-' of github.com:MetaMask/metamask-extension into i3725-refactor-send-component-
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 176907926..f787eafe8 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.btn--large.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])