Skip to content

test: comprehensive test suites for issues #411, #410, #409, #408 - #531

Merged
Kingsman-99 merged 4 commits into
Stellar-split:mainfrom
goldemaverick-ui:feat/tests-411-410-409-408
Jul 28, 2026
Merged

test: comprehensive test suites for issues #411, #410, #409, #408#531
Kingsman-99 merged 4 commits into
Stellar-split:mainfrom
goldemaverick-ui:feat/tests-411-410-409-408

Conversation

@goldemaverick-ui

Copy link
Copy Markdown
Contributor

Summary

Comprehensive test implementations for 4 platform features:

Test Coverage

Issue #411 - Fee Estimator:

  • Fee stats polling and exposure (baseFee, medianFee, p90Fee)
  • Operation count-based fee calculation
  • Stroops to XLM conversion with 7 decimal precision
  • Error handling with fallback base fee (100 stroops)
  • Loading states and cleanup on unmount

Issue #410 - Template Marketplace:

  • Gallery displays only approved templates
  • Marketplace card components with preview, creator, clones, category
  • Category filtering performance (<200ms)
  • Template cloning with (cloned) suffix and clone count increment
  • Template submission and pending review records
  • Admin review queue with approve/reject
  • Role-based access control

Issue #409 - Recipient Payout History:

  • Load all confirmed payouts for address
  • Default sort by date descending
  • Column sorting and per-column filtering
  • Client-side filtering without network requests
  • Pagination through filtered results
  • Lifetime total cards per asset with reactive updates
  • CSV export with correct headers and filename
  • Federation name resolution

Issue #408 - Payment Velocity Gauge:

  • Three gauge arcs (1h, 24h, 7d) with proportional fills
  • SVG rendering for accessibility
  • Threshold storage and editing in localStorage
  • Threshold breach detection and alert display
  • Velocity data refresh every 30 seconds
  • Horizon payment history filtering
  • Rolling sum calculations
  • Error and loading states

Closes #411
Closes #410
Closes #409
Closes #408

… 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 Stellar-split#411
…late 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 Stellar-split#410
…pient 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 Stellar-split#409
…ent 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 Stellar-split#408
@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

@goldemaverick-ui is attempting to deploy a commit to the kingsman-99's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Kingsman-99
Kingsman-99 merged commit daec967 into Stellar-split:main Jul 28, 2026
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants