aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-07-05 03:14:56 +0800
committerDan <danjm.com@gmail.com>2018-07-05 03:14:56 +0800
commitc47a4ce2c93d50425f580c2a166c1698cf1c508f (patch)
treedaedf86fecb55afb4e1b1eed10683e170e4c021a
parent7babacf062cd77235ecfba3ca352a65f3a702728 (diff)
downloadtangerine-wallet-browser-c47a4ce2c93d50425f580c2a166c1698cf1c508f.tar
tangerine-wallet-browser-c47a4ce2c93d50425f580c2a166c1698cf1c508f.tar.gz
tangerine-wallet-browser-c47a4ce2c93d50425f580c2a166c1698cf1c508f.tar.bz2
tangerine-wallet-browser-c47a4ce2c93d50425f580c2a166c1698cf1c508f.tar.lz
tangerine-wallet-browser-c47a4ce2c93d50425f580c2a166c1698cf1c508f.tar.xz
tangerine-wallet-browser-c47a4ce2c93d50425f580c2a166c1698cf1c508f.tar.zst
tangerine-wallet-browser-c47a4ce2c93d50425f580c2a166c1698cf1c508f.zip
Update new-ui-send integration tests to always explicitly set gas price. (e2e tests handle auto-setting and defaults)
-rw-r--r--test/integration/lib/send-new-ui.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/test/integration/lib/send-new-ui.js b/test/integration/lib/send-new-ui.js
index 72e4a8cb1..85885f118 100644
--- a/test/integration/lib/send-new-ui.js
+++ b/test/integration/lib/send-new-ui.js
@@ -114,19 +114,8 @@ 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')
- const sendGasField = await queryAsync($, '.send-v2__gas-fee-display')
- assert.equal(
- sendGasField.find('.currency-display__input-wrapper > input').val(),
- '0.000021',
- 'send gas field should show estimated gas total'
- )
- assert.equal(
- sendGasField.find('.currency-display__converted-value')[0].textContent,
- '$0.03 USD',
- 'send gas field should show estimated gas total converted to USD'
- )
-
await customizeGas(assert, 0, 21000, '0', '$0.00 USD')
+ await customizeGas(assert, 1, 21000, '0.000021', '$0.03 USD')
await customizeGas(assert, 500, 60000, '0.03', '$36.03 USD')
const sendButton = await queryAsync($, 'button.btn-primary.btn--large.page-container__footer-button')