Power Your Software Testing with AI Agents and Cloud
The Native AI-Agentic Cloud Platform to Supercharge Quality Engineering. Test Intelligently and Ship Faster.
- TestMu AI (Formerly LambdaTest)
- /
- Use Cases
- /
- Test opening a dispute and the case it creates
Test opening a dispute and the case it creates
Pick the charge, give a reason, and check the case records the merchant, the amount and a decision date.
Published on:
A dispute is filed by someone who has already lost money and is deciding whether the card was worth paying for. Everything about the flow has to work the first time.
This use case opens a dispute on the Amrex clone and checks what the customer is left holding.
The checks that matter
The case is the artifact, and every field recorded on it has to be right for it to be worth anything to the customer.
| Field | Value |
|---|---|
| Case number | AMX-58210 |
| Merchant | Skyline Airlines |
| Amount | $642.10 |
| Reason | I did not receive the goods or services |
| Decision by | 2026-10-16 |
The decision date is the field most worth asserting and the one most often missing. It is the only thing that tells the customer when to stop waiting, and its absence turns a resolved process into repeated calls.
Note: A flow each customer uses once, under stress, is the strongest argument for automated coverage over a manual pass. Try it on TestMu AI. Try free!
The flow as a test file
The charge is selected by date, merchant and amount together, which is what stops a dispute being opened against a neighbouring transaction from the same merchant.
---
mode: testing
url: https://my-testing-repo-main.vercel.app/amex-clone-app/disputes?reset=true
max_steps: 45
tags: [american-express, banking, disputes]
---
# Amrex 25.3: Dispute a charge
Catalog objective: start a dispute on a recent charge.
Key assertion: a case is opened with a confirmation.
## Pick the charge
Select the "2026-09-02 - Skyline Airlines - $642.10" charge and verify "Amount" reads "$642.10".
## Give a reason
Choose "I did not receive the goods or services" and type "The flight was cancelled and never rebooked or refunded." into "What happened".
## Open the dispute
Click "Open the dispute" and verify a green card titled "Case opened" appears.
## Verify the case details
Verify the case shows "Case number" of "AMX-58210", "Merchant" of "Skyline Airlines", "Amount" of "$642.10", "Reason" of "I did not receive the goods or services", "Decision by" of "2026-10-16" and a badge reading "Under review".The reason is chosen from the list and a free text explanation is typed, because the category routes the investigation while the detail informs it.
Step by step coverage
A charge, a reason, the submission and the case.
| Step | What it proves |
|---|---|
| Pick the charge | The disputed transaction is identified unambiguously |
| Give a reason | A category and a written explanation are both captured |
| Open the dispute | The case is created |
| Verify the case details | Case number, merchant, amount, reason, decision date and status |
Asserting the amount on the case as well as the charge catches a dispute opened for a partial figure, which resolves for less than the customer expected.
Adding it to a suite
kane-cli testmd run tests/american-express/dispute-charge_test.mdAdd a variant on an older charge that falls outside the dispute window, since the refusal needs to explain itself rather than just fail.
Dispute and support flows are worth covering on both the customer and agent side. Kane CLI as a QA agent covers building that out, and evidence based QA covers keeping proof.
Author
Bhawana is a Community Evangelist at TestMu AI with over 3 years of experience creating technically accurate, strategy-driven content in software testing. She has authored 50+ blogs on test automation, cross-browser testing, mobile testing, and real device testing. She also serves as Product Marketing Manager for Kane CLI, the command-line tool that runs browser automation from the terminal using natural-language flows in a real Chrome browser. Bhawana is certified in KaneAI, Selenium, Appium, Playwright, and Cypress, reflecting her hands-on knowledge of modern automation practices. On LinkedIn, she is followed by 6000+ QA engineers, testers, AI automation testers, and tech leaders.
Charge Dispute FAQs
Did you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance
- Advanced access controls
- Advanced data retention rules
- Advanced Local Testing
- Premium Support options
- Early access to beta features
- Private Slack Channel
- Unlimited Manual Accessibility DevTools Tests




