diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-08-24 10:19:48 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-08-24 10:19:48 +0800 |
commit | c0e97d17393c9ce5024af8626c1bafc5d5b4efe4 (patch) | |
tree | dbe6a7883f5851aaef0229674296eeadd34b4bcb /test/integration/lib/tx-list-items.js | |
parent | 342522c6cf23670f931e69ba822eedfd2d6ee252 (diff) | |
download | tangerine-wallet-browser-c0e97d17393c9ce5024af8626c1bafc5d5b4efe4.tar tangerine-wallet-browser-c0e97d17393c9ce5024af8626c1bafc5d5b4efe4.tar.gz tangerine-wallet-browser-c0e97d17393c9ce5024af8626c1bafc5d5b4efe4.tar.bz2 tangerine-wallet-browser-c0e97d17393c9ce5024af8626c1bafc5d5b4efe4.tar.lz tangerine-wallet-browser-c0e97d17393c9ce5024af8626c1bafc5d5b4efe4.tar.xz tangerine-wallet-browser-c0e97d17393c9ce5024af8626c1bafc5d5b4efe4.tar.zst tangerine-wallet-browser-c0e97d17393c9ce5024af8626c1bafc5d5b4efe4.zip |
Fix tests
Diffstat (limited to 'test/integration/lib/tx-list-items.js')
-rw-r--r-- | test/integration/lib/tx-list-items.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/lib/tx-list-items.js b/test/integration/lib/tx-list-items.js index 732e14577..a29a668ca 100644 --- a/test/integration/lib/tx-list-items.js +++ b/test/integration/lib/tx-list-items.js @@ -46,7 +46,7 @@ async function runTxListItemsTest (assert, done) { const failedTx = txListItems[4] const failedTxRenderedStatus = await findAsync($(failedTx), '.transaction-list-item__status') - assert.equal(failedTxRenderedStatus[0].textContent, 'failed', 'failedTx has correct label') + assert.equal(failedTxRenderedStatus[0].textContent, 'Failed', 'failedTx has correct label') const shapeShiftTx = txListItems[5] const shapeShiftTxStatus = await findAsync($(shapeShiftTx), '.flex-column div:eq(1)') @@ -54,9 +54,9 @@ async function runTxListItemsTest (assert, done) { const confirmedTokenTx = txListItems[6] const confirmedTokenTxAddress = await findAsync($(confirmedTokenTx), '.transaction-list-item__status') - assert.equal(confirmedTokenTxAddress[0].textContent, 'confirmed', 'confirmedTokenTx has correct address') + assert.equal(confirmedTokenTxAddress[0].textContent, 'Confirmed', 'confirmedTokenTx has correct address') const rejectedTx = txListItems[7] const rejectedTxRenderedStatus = await findAsync($(rejectedTx), '.transaction-list-item__status') - assert.equal(rejectedTxRenderedStatus[0].textContent, 'rejected', 'rejectedTx has correct label') + assert.equal(rejectedTxRenderedStatus[0].textContent, 'Rejected', 'rejectedTx has correct label') } |