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 filing a dispute and the case reference it creates
Test filing a dispute and the case reference it creates
Buyer protection is a promise that only exists if the form works. Four steps from a transaction to a case reference under review.
Published on:
Buyer protection is the reason a lot of people use a wallet at all. It is also a form that most customers touch once, under stress, after something has already gone wrong.
This use case files a dispute on the PayPaal activity clone and checks the case it creates, which is the artifact the customer is actually being given.
The flow under test
A dispute form fails in a way that is worse than most failures, because the customer believes it worked.
- The wrong transaction is disputed - the form opens against a neighbouring row rather than the one selected.
- The reason is not captured - the case is created without the category that determines how it is handled.
- No reference is issued - the customer has a confirmation message and nothing to quote later.
The test asserts the transaction id and the amount before the dispute is filed, which is what ties the case to the correct payment. Filing against the wrong transaction produces a valid-looking case that helps nobody.
Note: A flow the customer will only ever use once, badly, under stress, is the strongest argument for automated coverage. Try it on TestMu AI. Start for free
The test file
The reason is selected from the dropdown and the free text detail is typed, because a dispute category without supporting detail is handled differently by whoever reviews it.
---
mode: testing
url: https://my-testing-repo-main.vercel.app/paypal-clone-app/activity?reset=true
max_steps: 45
tags: [paypal, payments, disputes]
---
# PayPaal 10.4: Dispute filing
Catalog objective: open a transaction and start a dispute with a reason.
Key assertion: a dispute case is created with a reference id.
## Open the transaction
Click "Details" on the "Brightline Electronics" row and verify the transaction detail shows "Transaction" of "TX-9920" and "Amount" of "$128.40".
## Choose a reason
Select "I did not receive the item" in "What went wrong?" and type "Tracking has said out for delivery for nine days." into the detail box.
## File the dispute
Click "File dispute" and verify a green banner titled "Dispute filed" shows the case "PP-D-5500" for Brightline Electronics at "$128.40".
## Verify the case reference is recorded
Verify a "Dispute" card shows "Case reference" of "PP-D-5500", "Reason" of "I did not receive the item" and a status of "Under review".The final assertion checks three things about the case: its reference, the reason it records, and a status of under review. A case that exists with the wrong reason is a slower resolution rather than a faster one.
Step by step coverage
The four steps track the case from the payment it concerns to the reference the customer walks away with.
| Step | What it proves |
|---|---|
| Open the transaction | The dispute is tied to the correct transaction id and amount |
| Choose a reason | The category and the supporting detail are both captured |
| File the dispute | A case is created naming the merchant and the amount |
| Verify the case reference is recorded | The reference, the reason and an under review status are persisted |
Asserting the amount on the created case, and not only on the transaction, is what catches a dispute filed for a partial or incorrect figure.
Running it
kane-cli testmd run tests/paypal/dispute-filing_test.mdThe result is coverage on a trust-critical flow, checked to the point where the customer receives something they can quote back.
Support and dispute tooling is worth testing on both sides, since the agent view and the customer view read the same case. Kane CLI as a QA agent covers building that out, and running flows in CI covers scheduling them.
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.
Dispute Filing 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




