docs: add swapper execution testing requirements#11523
docs: add swapper execution testing requirements#11523gomesalexandre merged 3 commits intodevelopfrom
Conversation
Add comprehensive testing requirements for swapper-related PRs to ensure actual swap execution verification before merging. Key additions: - When swap execution testing is required (new integrations, behavior changes, etc.) - Minimum testing scope (2+ successful swaps) - Comprehensive testing checklist - Testing methodology and best practices - Required test documentation template - Reference to example test reports This ensures production readiness for all swapper integrations by requiring real swap execution tests, not just quote fetching. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
📝 WalkthroughWalkthroughDocumentation update adds comprehensive guidance for swapper integration testing to Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (8)📓 Common learnings📚 Learning: 2025-11-24T21:20:57.909ZApplied to files:
📚 Learning: 2025-11-24T21:20:57.909ZApplied to files:
📚 Learning: 2025-11-24T21:20:57.909ZApplied to files:
📚 Learning: 2025-11-24T21:20:57.909ZApplied to files:
📚 Learning: 2025-11-24T21:20:57.909ZApplied to files:
📚 Learning: 2025-11-24T21:20:57.909ZApplied to files:
📚 Learning: 2025-11-24T21:20:17.804ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Extends swapper testing requirements to include: - Cross-chain swap testing for bridge functionality - Transaction history parsing verification - TX details drawer validation - Cross-chain TX tracking for both source and destination Ensures comprehensive testing for: - Bridge swaps (e.g., USDC Arbitrum → new chains) - TX parsing accuracy for new chain integrations - TX details display correctness - Multi-chain transaction tracking 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Summary
Adds comprehensive testing requirements for swapper-related PRs to ensure actual swap execution verification before merging to production.
Problem
Previously, swapper integration PRs could be merged without executing actual swaps, relying only on quote fetching verification. This approach missed critical issues that only surface during transaction execution:
Solution
This PR establishes clear testing requirements for all swapper-related work:
When Required
Execute actual swaps for PRs involving:
Minimum Testing Scope
Documentation Template
Provides a standardized template for documenting swap execution test results in PR comments, including:
Example Report
References
.playwright-mcp/swap-execution-test-report.mdas a comprehensive testing example showing:Both swaps executed successfully with accurate rates and balance updates.
Benefits
Testing
See the newly added section in
docs/testing.md:Related
🤖 Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.