Transaction Limits & Fraud Flags — Test Cases
Feature version: v1.0
Reference doc: Finance System — Transaction Limits & Fraud Flags
Result notation: ✅ Pass | ❌ Fail | ⏭ Skip | 🐛 Fail + bug report
Changelog
| Date | Version | Change | Author |
|---|---|---|---|
| 2026-05-10 | v1.0 | Initial creation | — |
TC-LIMIT-001 — Transaction Limits 🆕 NEW
Precondition:
transaction_limits_configsis configured with specific values for testing.
| # | Description | Steps | Expected Result | Actual Result |
|---|---|---|---|---|
| 1 | Exceeds max deposit per transaction | Configure max $500/tx → Attempt to deposit $600 | Rejected; limit exceeded error | |
| 2 | Exceeds daily deposit cap | Configure max $1000/day → Deposit total > $1000 in one day | Transaction rejected | |
| 3 | Exceeds deposit rate limit per hour | Configure max 5 deposits/hour → Attempt the 6th deposit in the same hour | Rejected; rate limit error |
TC-LIMIT-002 — Fraud Flags 🆕 NEW
Precondition:
fraudFlagsthresholds are configured intransaction_limits_configs.
| # | Description | Steps | Expected Result | Actual Result |
|---|---|---|---|---|
| 1 | Suspicious transaction is flagged | Submit a transaction that exceeds the fraudFlags threshold | A record is created in transaction_fraud_flags | |
| 2 | Admin can view fraud flags | Log in to Admin panel → Check fraud flags section | Correct list of flagged transactions is displayed |