diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-04-05 09:46:22 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-04-05 09:46:22 +0800 |
commit | 254cf975a648e8caa2531aef98313fc698f6c8c3 (patch) | |
tree | cead8e8b9f063c2ece44e211b5c85ab709e092fb /test | |
parent | 5b2ace3b802f6e120cd72a4d633299aa78b5cae8 (diff) | |
download | tangerine-wallet-browser-254cf975a648e8caa2531aef98313fc698f6c8c3.tar tangerine-wallet-browser-254cf975a648e8caa2531aef98313fc698f6c8c3.tar.gz tangerine-wallet-browser-254cf975a648e8caa2531aef98313fc698f6c8c3.tar.bz2 tangerine-wallet-browser-254cf975a648e8caa2531aef98313fc698f6c8c3.tar.lz tangerine-wallet-browser-254cf975a648e8caa2531aef98313fc698f6c8c3.tar.xz tangerine-wallet-browser-254cf975a648e8caa2531aef98313fc698f6c8c3.tar.zst tangerine-wallet-browser-254cf975a648e8caa2531aef98313fc698f6c8c3.zip |
Fix confirm-sig-requests integration test
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/lib/confirm-sig-requests.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/lib/confirm-sig-requests.js b/test/integration/lib/confirm-sig-requests.js index f1116d1a6..1576e317c 100644 --- a/test/integration/lib/confirm-sig-requests.js +++ b/test/integration/lib/confirm-sig-requests.js @@ -21,6 +21,9 @@ async function runConfirmSigRequestsTest(assert, done) { selectState.val('confirm sig requests') reactTriggerChange(selectState[0]) + const pendingRequestItem = await queryAsync($, '.tx-list-item.tx-list-pending-item-container.tx-list-clickable') + pendingRequestItem[0].click() + let confirmSigHeadline = await queryAsync($, '.request-signature__headline') assert.equal(confirmSigHeadline[0].textContent, 'Your signature is being requested') @@ -36,9 +39,6 @@ async function runConfirmSigRequestsTest(assert, done) { let confirmSigMessage = await queryAsync($, '.request-signature__notice') assert.ok(confirmSigMessage[0].textContent.match(/^Signing\sthis\smessage/)) - confirmSigRowValue = await queryAsync($, '.request-signature__row-value') - assert.equal(confirmSigRowValue[0].textContent, '0x879a053d4800c6354e76c7985a865d2922c82fb5b3f4577b2fe08b998954f2e0') - confirmSigSignButton = await queryAsync($, 'button.btn-primary--lg') confirmSigSignButton[0].click() |