Hero Background

Power Your Software Testing with AI Agents and Cloud

The Native AI-Agentic Cloud Platform to Supercharge Quality Engineering. Test Intelligently and Ship Faster.

Kane CLISupport Tooling

Test a dashboard payment lookup from charge to detail

Take a payment, then find it by id in the dashboard and open its detail. The flow a support agent runs a hundred times a day.

Published on:

Payment dashboards are internal tools, which means they are tested by the people who use them, in production, while a customer waits on the phone.

This use case creates a payment and then finds it the way a support agent would on the Stripey dashboard clone. Four steps, 155 seconds, all passed.

The checks that matter

The test is really about search and indexing, not about the payment. The payment is created so there is something real to look for.

StageWhat the test asserts
CreateA payment completes and the receipt shows payment id pi_3Qb101Mx03
IndexThe dashboard subtitle reads 4 payments, so the new one is counted
SearchSearching that id narrows the list to a single row at $240.00, succeeded
DetailThe detail view repeats the amount, id, description, card and status

The index assertion is the one worth stealing. Checking the count on the dashboard after creating a payment proves the record reached the list, which is a separate operation from the payment succeeding and fails independently.

Note

Note: A search that returns nothing and a search that returns everything are both failures, so asserting the result count is as important as asserting the row. Start on TestMu AI. Start for free

The same flow as a test file

The search assertion checks that a single row remains, not merely that the expected row is present. A filter that matches everything still contains the right answer.

---
mode: testing
url: https://my-testing-repo-main.vercel.app/stripe-clone-app/checkout?reset=true
max_steps: 45
tags: [stripe, payments, dashboard]
---

# Stripey 9.5: Dashboard payment lookup

Catalog objective: find the latest payment in the dashboard and open its detail.
Key assertion: the payment detail matches the amount and the paid status.

## Take a payment first
Type "4242 4242 4242 4242" into "Card number", "12 / 34" into "Expiry", "123" into "CVC", click "Pay $240.00", and verify the receipt shows "Payment ID" of "pi_3Qb101Mx03".

## Open the dashboard
Go to https://my-testing-repo-main.vercel.app/stripe-clone-app/dashboard and verify the page subtitle reads "4 payments".

## Find the latest payment
Type "pi_3Qb101Mx03" into "Search payments" and verify a single row remains, showing "$240.00" with a "succeeded" status.

## Open its detail
Click "Open" on that row and verify the payment detail shows "$240.00", "Payment ID" of "pi_3Qb101Mx03", "Description" of "Pro plan - annual", "Payment method" of "Visa ••••4242" and a status of "succeeded".

Run the test with:

kane-cli testmd run tests/stripe/dashboard-payment-lookup_test.md

Run output

Four passes in 155 seconds. Opening the dashboard was the cheapest step at 17.8 seconds, the fastest single step across the whole set, because it is a navigation and a one-string assertion.

---
test: ../dashboard-payment-lookup_test.md
status: passed
started: 2026-09-21T12:44:42.817Z
duration_s: 155
session_id: 81f84f86-9bdf-401c-b7cf-4fa592698944
---

# Stripey 9.5: Dashboard payment lookup - Result

## Take a payment first ✓ passed (39.5s)
md5: 7c86b6503396501dec4014adf8a1e084
Type "4242 4242 4242 4242" into "Card number", "12 / 34" into "Expiry", "123" into "CVC", click "Pay $240.00", and verify the receipt shows "Payment ID" of "pi_3Qb101Mx03".

## Open the dashboard ✓ passed (17.8s)
md5: bf43df0b3f18691f4762f9b5e7db324f
Go to https://my-testing-repo-main.vercel.app/stripe-clone-app/dashboard and verify the page subtitle reads "4 payments".

## Find the latest payment ✓ passed (44.6s)
md5: 9d016c062ab293a90a63cff16d84c771
Type "pi_3Qb101Mx03" into "Search payments" and verify a single row remains, showing "$240.00" with a "succeeded" status.

## Open its detail ✓ passed (47.5s)
md5: de87d0640ff678e4d4ba69ad744cc439
Click "Open" on that row and verify the payment detail shows "$240.00", "Payment ID" of "pi_3Qb101Mx03", "Description" of "Pro plan - annual", "Payment method" of "Visa ••••4242" and a status of "succeeded".
StepResultDuration
Take a payment firstPassed39.5s
Open the dashboardPassed17.8s
Find the latest paymentPassed44.6s
Open its detailPassed47.5s

The two search-related steps cost more than the payment itself, which is a fair reflection of where the risk sits. Creating a charge is well-trodden code; the list, the filter and the detail view are not.

Next-generation test execution with TestMu AI

Taking it further

You end up with coverage on the tool your support team depends on, including the indexing step that a payment-only test would never reach.

Internal tooling tends to be where coverage is thinnest and where an agent-written change is most likely to land unreviewed. Verifying agent-written code covers that loop, and Kane CLI as a QA agent covers building this into a wider suite.

Author

...

Bhawana

Blogs: 77

  • Twitter
  • Linkedin

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.

Add to Google preferred sources

Summarise with AI

Copied to Clipboard!
...

3000+ Browsers. One Platform.

See exactly how your site performs everywhere.

Try it free
...

Write Tests in Plain English with KaneAI

Create, debug, and evolve tests using natural language.

Try for free

Dashboard Lookup 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