Commit daec967
authored
* test: implement comprehensive tests for issue #411 (live fee estimator)
Implement tests for useFeeEstimate hook and FeeEstimateBar component:
- Verify fee stats polling every 10 seconds
- Test baseFee, medianFee, p90Fee exposure
- Validate fee calculations by operation count
- Test stroops to XLM conversion with 7 decimal precision
- Verify error handling with fallback base fee
- Test loading states and polling cleanup on unmount
Closes #411
* test: implement comprehensive tests for issue #410 (template marketplace)
Implement tests for template marketplace functionality:
- Verify only approved templates display in gallery
- Test marketplace card components with preview, creator, clones, category
- Validate category filtering under 200ms
- Test template cloning with (cloned) suffix and clone count increment
- Verify template submission creates pending review records
- Test admin review queue with approve/reject functionality
- Validate role-based access control for admin pages
- Test pagination and category filtering
Closes #410
* test: implement comprehensive tests for issue #409 (recipient payout history)
Implement tests for recipient payout history cross-invoice totals:
- Test loading all confirmed payouts for given address
- Verify default sort by date descending
- Test empty state for addresses with no payout history
- Validate column sorting and per-column filtering
- Test client-side filtering without network requests
- Verify pagination through filtered results
- Test lifetime total cards per asset with reactive updates
- Implement CSV export with headers and filename
- Test federation name resolution for Stellar addresses
Closes #409
* test: implement comprehensive tests for issue #408 (payment velocity gauge)
Implement tests for payment velocity gauge with threshold configuration:
- Test three gauge arcs (1h, 24h, 7d) rendering and proportional fills
- Verify SVG rendering for accessibility
- Test threshold storage in localStorage under stellarsplit:velocityThresholds
- Validate threshold popover editing with immediate gauge updates
- Test threshold breaching with alert banner display
- Verify alert dismissal without disabling thresholds
- Test velocity data refresh every 30 seconds
- Validate horizon payment history filtering for outgoing operations only
- Test rolling sum calculations for time windows
- Verify error handling and loading states
Closes #408
1 parent 606da98 commit daec967
5 files changed
Lines changed: 1433 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
0 commit comments