aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration/lib
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-14 22:58:26 +0800
committerDan <danjm.com@gmail.com>2018-03-14 22:58:26 +0800
commitf8e13fd793c5761c4c077b912934f8cbc434b13c (patch)
tree17ab045bfcdaddd02d1f0a882891dd2699a4afb4 /test/integration/lib
parent106ce091a9ef9fbd37b90c49bc76f12bd796ebb5 (diff)
downloadtangerine-wallet-browser-f8e13fd793c5761c4c077b912934f8cbc434b13c.tar
tangerine-wallet-browser-f8e13fd793c5761c4c077b912934f8cbc434b13c.tar.gz
tangerine-wallet-browser-f8e13fd793c5761c4c077b912934f8cbc434b13c.tar.bz2
tangerine-wallet-browser-f8e13fd793c5761c4c077b912934f8cbc434b13c.tar.lz
tangerine-wallet-browser-f8e13fd793c5761c4c077b912934f8cbc434b13c.tar.xz
tangerine-wallet-browser-f8e13fd793c5761c4c077b912934f8cbc434b13c.tar.zst
tangerine-wallet-browser-f8e13fd793c5761c4c077b912934f8cbc434b13c.zip
Fix tests.
Diffstat (limited to 'test/integration/lib')
-rw-r--r--test/integration/lib/send-new-ui.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/integration/lib/send-new-ui.js b/test/integration/lib/send-new-ui.js
index faab10fdf..bfd17f3d8 100644
--- a/test/integration/lib/send-new-ui.js
+++ b/test/integration/lib/send-new-ui.js
@@ -93,7 +93,7 @@ async function runSendFlowTest(assert, done) {
'send gas field should show estimated gas total converted to USD'
)
- const sendGasOpenCustomizeModalButton = await queryAsync($, '.send-v2__sliders-icon-container')
+ const sendGasOpenCustomizeModalButton = await queryAsync($, '.sliders-icon-container')
sendGasOpenCustomizeModalButton[0].click()
const customizeGasModal = await queryAsync($, '.send-v2__customize-gas')
@@ -135,9 +135,9 @@ async function runSendFlowTest(assert, done) {
assert.equal(confirmToName[0].textContent, 'Send Account 3', 'confirm screen should show correct to name')
const confirmScreenRows = await queryAsync($, '.confirm-screen-rows')
- const confirmScreenGas = confirmScreenRows.find('.confirm-screen-row-info')[2]
- assert.equal(confirmScreenGas.textContent, '3.6 USD', 'confirm screen should show correct gas')
- const confirmScreenTotal = confirmScreenRows.find('.confirm-screen-row-info')[3]
+ const confirmScreenGas = confirmScreenRows.find('.currency-display__converted-value')[0]
+ assert.equal(confirmScreenGas.textContent, '3.60 USD', 'confirm screen should show correct gas')
+ const confirmScreenTotal = confirmScreenRows.find('.confirm-screen-row-info')[2]
assert.equal(confirmScreenTotal.textContent, '2405.36 USD', 'confirm screen should show correct total')
const confirmScreenBackButton = await queryAsync($, '.confirm-screen-back-button')