Skip to main content

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

DateVersionChangeAuthor
2026-05-10v1.0Initial creation

TC-LIMIT-001 — Transaction Limits 🆕 NEW

Precondition: transaction_limits_configs is configured with specific values for testing.

#DescriptionStepsExpected ResultActual Result
1Exceeds max deposit per transactionConfigure max $500/tx → Attempt to deposit $600Rejected; limit exceeded error
2Exceeds daily deposit capConfigure max $1000/day → Deposit total > $1000 in one dayTransaction rejected
3Exceeds deposit rate limit per hourConfigure max 5 deposits/hour → Attempt the 6th deposit in the same hourRejected; rate limit error

TC-LIMIT-002 — Fraud Flags 🆕 NEW

Precondition: fraudFlags thresholds are configured in transaction_limits_configs.

#DescriptionStepsExpected ResultActual Result
1Suspicious transaction is flaggedSubmit a transaction that exceeds the fraudFlags thresholdA record is created in transaction_fraud_flags
2Admin can view fraud flagsLog in to Admin panel → Check fraud flags sectionCorrect list of flagged transactions is displayed