test: add verification, fuzzing, and cross-browser E2E coverage#790
Merged
0xVida merged 1 commit intoMay 31, 2026
Conversation
…lar-Fluid#718, Stellar-Fluid#722, Stellar-Fluid#728, Stellar-Fluid#731) Implement precise rate-limit window boundary tests, a congestion fee simulator with Node/Rust parity checks, Playwright cross-browser E2E for the admin dashboard, and cargo-fuzz targets for the XDR parser.
|
@jahrulezfrancis Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements testing, verification, and fuzzing coverage for four issues:
FeeManagerwith mock Horizonfee_statsand asserts Node/Rust fee-bump parityparse_xdr_from_bytes,parse_xdr,validate_xdr_input)Also fixes a pre-existing
auth.tssyntax error and adds aTelemetryConsentSettingsstub required for the admin dashboard to build during E2E.Changes by area
server/
src/utils/gcraLeakyBucket.tssrc/utils/gcraBoundary.test.tssrc/utils/redisRateLimitStore.test.tssrc/middleware/sandboxGuard.boundary.test.tssrc/utils/feeParity.tssrc/utils/feeParity.test.tssrc/verification/congestionFeeSimulator.tssrc/middleware/rateLimit.tsadmin-dashboard/
playwright.config.tse2e/auth.spec.tse2e/settings.spec.tse2e/tables.spec.tse2e/global-setup.tsauth.tscomponents/dashboard/TelemetryConsentSettings.tsxfluid-server/
src/lib.rsxdrmodule for fuzz harnessessrc/main.rsfluid_server::xdrsrc/rate_limiter.rsfuzz/docs/
rate-limit-boundary-tests.mdcongestion-fee-simulator.mdcross-browser-e2e-admin-dashboard.mdxdr-fuzz-testing.mdverification-testing-fuzzing-report.mdTest plan
cd server && pnpm exec vitest run gcraBoundary redisRateLimitStore sandboxGuard.boundarycd server && pnpm exec vitest run feeParitycd server && npm run congestion:simulate(4/4 scenarios pass)cd admin-dashboard && npx playwright test --project=chromium e2e/auth.spec.ts e2e/tables.spec.ts(8 passed)cd admin-dashboard && npx playwright install --with-deps chromium firefox webkit && npm run test:e2ecd fluid-server && cargo test rate_limiter(requires C linker)cd fluid-server && cargo +nightly fuzz run fuzz_parse_xdr_from_bytes -- -max_total_time=30(requires nightly + cargo-fuzz)Verification output
Closes #728
Closes #731
Closes #722
Closes #718