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 CLIFX & Compliance

Test currency conversion disclosure before confirming

The rate, the spread, the fee and the received amount all have to be visible before the send button, and identical on the receipt.

Published on:

Currency conversion disclosure is a regulatory requirement in most of the markets that matter, not a design preference. The sender has to see the rate, the margin and what the recipient actually receives before they commit.

This use case checks all four figures on the PayPaal send flow, before the send button and again on the receipt.

The flow under test

Four numbers have to be visible before confirmation, and each one is a separate disclosure obligation rather than a nice detail.

  • Mid-market rate - 1 USD = 83.42 INR, the reference rate the margin is measured against.
  • The applied rate - 1 USD = 80.5003 INR, which is what the sender is actually getting.
  • The spread - 3.5%, stated as a percentage rather than left to be inferred from the two rates.
  • The received amount - 8050.03 rupees, the only figure the recipient cares about.

Asserting the mid-market rate alongside the applied rate is what makes the spread verifiable rather than merely displayed. A page can state a 3.5% spread beside two rates that imply something else entirely.

Note

Note: Disclosure requirements make this one of the few flows where a missing line on a page is a compliance finding rather than a cosmetic bug. Start on TestMu AI. Try free!

The test file

The step that matters most asserts all five values while explicitly not having pressed send, because disclosure before commitment is the entire requirement.

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

# PayPaal 10.5: Currency conversion

Catalog objective: send an international payment and verify the conversion rate shown.
Key assertion: the rate and converted amount are displayed before confirming.

## Choose an international recipient
Choose "Mira Shah" and verify the option detail reads "mira.shah@example.in · IN · receives INR".

## Enter the amount
Type "100" into "You send (USD)" and verify a currency conversion panel appears with a badge reading "Currency conversion applies".

## Verify the rate and the converted amount before confirming
Verify the panel shows "Mid-market rate" of "1 USD = 83.42 INR", "PayPaal rate" of "1 USD = 80.5003 INR", "Currency spread" of "3.5%", "Fee" of "$0.80" and "Mira Shah receives" of "₹8050.03".

## Confirm and verify the receipt carries the same numbers
Click "Review and send", verify "They receive" reads "₹8050.03", then click "Send now" and verify the receipt shows "Exchange rate" of "1 USD = 80.5003 INR" and "They receive" of "₹8050.03".

The final step then checks the receipt repeats the applied rate and the received amount, which is what prevents a rate quoted at review from being replaced by a different one at execution.

Step by step coverage

Each step covers a distinct part of the obligation, and the ordering is the substance of it.

StepWhat it proves
Choose an international recipientThe recipient is flagged as receiving a different currency
Enter the amountA conversion panel appears rather than the flow proceeding silently
Verify the rate and converted amountRate, spread, fee and received amount are all shown before confirming
Confirm and verify the receiptThe executed rate and received amount match what was disclosed

The order is the point. A test that checks the same figures only on the receipt would pass a page that discloses nothing until after the money has gone.

Next-generation test execution with TestMu AI

Running it

kane-cli testmd run tests/paypal/currency-conversion_test.md

What you have is a compliance-shaped test: the assertions are the disclosure requirements, in the order the regulation expects them.

Rate data changes constantly, which makes the surrounding structure more durable than the figures. Building a suite from written requirements covers deriving assertions from a document, and calling an API inside a flow covers checking the quoted rate against the service that issued it.

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

Currency Conversion 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