diff options
author | Dan <danjm.com@gmail.com> | 2018-06-01 01:59:17 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-06-01 01:59:17 +0800 |
commit | d12bb8c14fccadef5ef8e3d40ccb262c9fa9db74 (patch) | |
tree | 7914db5005773d1553338e64e2fbc2250d453534 /test/integration/lib/send-new-ui.js | |
parent | 5091b03e4b2499697cda376a44405139827068cd (diff) | |
parent | 15f4ce352ddb88c43659ddd6fa29e53126d2a68c (diff) | |
download | tangerine-wallet-browser-d12bb8c14fccadef5ef8e3d40ccb262c9fa9db74.tar.gz 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/integration/lib/send-new-ui.js')
-rw-r--r-- | test/integration/lib/send-new-ui.js | 6 |
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]) |