Ecommerce Localization Testing: A Country-by-Country Checklist
A storefront can pick its country from the visitor's IP, a selector, a cookie or a signed-in account. A useful localization test keeps those inputs apart, checks each visible element against your own specification and writes down enough to reproduce every failure. This page gives you 18 test cases you can download and run against your own shop.
Quick Answer
Write down what each country should see. Then, per country, run a fresh visit through an exit IP there, repeat with an explicit country choice and again with a saved or account preference. Compare each visible element with the expected result and stop every flow before payment.
- →IP default, explicit selector and account setting are three different test cases
- →Expected results come from your spec, not from what the site happens to do
- →Owned storefront and synthetic accounts only; payment-provider traffic stays out
This checklist is for a shop you run or are authorized to test, not for collecting other stores' prices. Browser automation details live in our guide to Playwright geolocation testing, and if a lookup reports a country you did not expect, start with proxy showing the wrong country.
1. Separate the four country inputs
Many localization bugs come from two inputs disagreeing: the IP says one country, a cookie says another. List which inputs your storefront reads and in which order they win. Without that precedence written down, no result can be marked pass or fail.
| Input | How you control it in a test | What it does not tell you |
|---|---|---|
| IP-based default | Route the browser through an exit IP in the target country | Whether a returning visitor keeps their choice |
| Explicit selector | Click the country, language or currency selector | What a first-time visitor sees |
| Saved state or account | Reuse a browser context, or sign in a synthetic account with a set region | How the IP rule behaves on its own |
| Browser locale and timezone | Set them in the browser profile or automation context | Anything about the network location |
A proxy only changes the first row. Playwright documents that its locale option sets navigator.language, the Accept-Language request header and number and date formatting, while timezoneId changes the browser timezone. Neither moves the request to another network. That is why the checklist below tags every case with the input layer it exercises.
2. The 18 storefront test cases
Run the full set once per target country. The "expected" column describes where the answer comes from, not the answer itself: fill it from your own product, catalog and shipping rules before the run. Keep one stable product fixture (a product that will not sell out or change price during the test) and one stable search term so runs stay comparable.
| ID | Area | Input layer | Steps | Expected (from your spec) | Record |
|---|---|---|---|---|---|
| L01 | Country default | IP default | Fresh browser context, no cookies. Open the home page through the exit country. | Country chosen by your geo rule for that exit country. | Selected country, currency code, exit IP, time. |
| L02 | Language default | Browser locale | Keep the exit country. Run twice with two browser locales. | Language follows your spec: locale, country, or neither. | html lang attribute, visible language, fallback used. |
| L03 | Language override | Explicit selector | Pick a language in the selector, reload, open a second page. | Selected language wins over locale and persists as specified. | Language after reload and on the next page. |
| L04 | Currency default | IP default | Fresh visit. Open one stable product fixture. | Currency set by the country rule. | Currency code, symbol position, decimal separator. |
| L05 | Currency override | Explicit selector | Choose another country or currency in the selector. | Prices switch on listing, product and cart pages alike. | Any page still showing the old currency. |
| L06 | Number and date format | Browser locale | Open the same product with two locales, same exit country. | Separators and dates follow your formatting rule. | Price string, delivery date string. |
| L07 | Availability | IP default | Open a fixture product that is restricted in one market. | Shown, hidden or marked unavailable per catalog rule. | Add-to-cart state, message text, HTTP status. |
| L08 | Search and listings | IP default | Search a fixed term and open one category page. | Region-limited items included or excluded per rule. | Result count, first five items. |
| L09 | Entry redirect | IP default | Request the root and one deep link without following redirects. | Redirect or no redirect per spec; deep link path kept. | Status code, Location header, final URL. |
| L10 | Redirect vs selection | Explicit selector | Select a country that differs from the exit, then reload the root. | Choice respected, no redirect back to the IP country. | Full redirect chain. |
| L11 | Saved preference | Saved state | Keep the state from L10, close and reopen the page. | Saved country wins or not, as written in the spec. | Selected country after the revisit. |
| L12 | Account region | Account setting | Sign in a synthetic account whose region differs from the exit. | Account region rule applies. | Country, currency, shipping message. |
| L13 | Shipping message | IP default or selector | Open a product and the cart with a destination you ship to. | Message matches your shipping table for that destination. | Message text, delivery estimate text. |
| L14 | Cart shipping estimate | Explicit selector | Add the fixture to the cart, enter a test postcode, stop before payment. | Estimate shown, no order created. | Estimate text, cart total, last step reached. |
| L15 | Consent interface | IP default | Fresh visit. Observe the consent banner before any click. | Banner variant matches your spec for that region. | Banner shown, preselected options, button labels. |
| L16 | Consent persistence | Saved state | Accept or decline, then revisit in the same context. | Choice remembered as specified. | Whether the banner returns. |
| L17 | Mixed signals | All layers | Exit in one country, locale and account region set to others. | Your documented precedence order holds. | Which signal won, per element. |
| L18 | Payment boundary | Guardrail | Walk to the checkout step before payment with payment hosts blocked. | No request reaches a payment provider. | List of aborted requests. |
exit_country, browser_locale, observed, result and repro_notes columns. We leave them blank on purpose: a published "sample result" from someone else's storefront would tell you nothing about yours.3. Run one country at a time
Each scenario leaves state behind, so this order keeps the IP-only result clean:
- Confirm the exit IP and country from the same browser that will run the test. Our guide on testing a proxy covers that check.
- Open a new browser context with no cookies or storage and the payment-host block from section 5 already installed. Run L01, L04, L07, L08, L09, L13 and L15.
- Open a fresh context for each browser locale (in Playwright, locale is set when the context is created) and run L02 and L06.
- Use the selectors and run L03, L05, L10 and L14.
- Close and reopen with the saved state for L11 and L16.
- Sign in the synthetic account for L12, then run L17 and the payment boundary check L18.
- Note the exit IP and time on the worksheet, then move to the next country.
Keep one exit IP for the whole country run if you can. The carrier assigns the address and may share one public IP between subscribers (carrier-grade NAT), so a change mid-run means comparing two observations. Request a new IP between countries, not between steps. On our ports that is a button in the dashboard or POST /api/v1/proxies/{slotId}/switch, limited to once per 5 minutes per port (a faster call returns 429 with a Retry-After header), and a new address is not certain. Why addresses move at all is explained in why your mobile proxy IP changes.
Our catalog offers exits in the United States (T-Mobile, San Francisco), United Kingdom (Three, Wales) and Netherlands (Vodafone, Amsterdam). Location databases can still classify a carrier address differently, so assert on country, not city.
4. Check redirects without a browser
Entry redirects (L09) are easiest to read without a browser in the way. curl does not follow redirects unless you pass -L, and its %{redirect_url} write-out variable shows where a redirect would have gone. The example below reads the proxy URL from an environment variable, sends a fixed Accept-Language so the language input is pinned, and keeps TLS verification on. shop.example is a placeholder for your own storefront.
# Example only. MP_PROXY_URL holds http://user:pass@host:port in your shell,
# never in the script or the repository.
for p in / /products/test-fixture /cart; do
curl --silent --show-error --output /dev/null \
--proxy "$MP_PROXY_URL" \
-H "Accept-Language: en-GB" \
--write-out "$p status=%{http_code} redirect=%{redirect_url}\n" \
"https://shop.example$p"
doneRun it per country and once more with a different Accept-Language to see whether the redirect follows language or IP. If a deep link lands on the home page, record L09 as failed even when the country is right.
5. Keep payment traffic out of the test
Payment-provider traffic is outside this service's supported use, and a display test has no reason to touch it. Walk checkout only as far as the cart and shipping estimate (L14), use synthetic accounts, and never submit a real order. In Playwright you can enforce that boundary for every page in a context with context.route() and route.abort(). Playwright notes that routing does not see requests a service worker intercepts, and recommends serviceWorkers: 'block' when you rely on interception.
// Example only. QA_PAYMENT_HOSTS is a comma-separated list of the
// payment hosts your checkout loads, e.g. "pay.example,checkout.example".
const blocked = (process.env.QA_PAYMENT_HOSTS ?? "").split(",").filter(Boolean)
const aborted: string[] = []
const context = await browser.newContext({
proxy: {
server: process.env.MP_PROXY_SERVER!,
username: process.env.MP_PROXY_USERNAME!,
password: process.env.MP_PROXY_PASSWORD!,
},
serviceWorkers: "block",
})
await context.route("**/*", (route) => {
const host = new URL(route.request().url()).hostname
if (blocked.some((h) => host === h || host.endsWith("." + h))) {
aborted.push(route.request().url())
return route.abort()
}
return route.continue()
})The aborted list is the evidence for L18: attach it to the run so a reviewer can see that no payment request left the browser. Proxy authentication and context setup are covered in Playwright proxy configuration; supported uses are summarized on the geo testing page.
6. Shipping messages and consent banners
For shipping (L13, L14), compare the displayed text and estimate with your own shipping table for that destination. A match means the interface shows what your team specified, not that the rate, duty or delivery time is correct.
For consent (L15, L16), record what a fresh visitor in that country sees: whether a banner appears, which options are preselected, the button labels, and whether the choice survives a revisit. Compare that with the variant your privacy or legal team asked for. The test checks that the right variant reaches the right country; whether it is compliant is not a QA conclusion.
7. Write failures someone else can reproduce
"Wrong currency in the UK" is not a bug report. A developer needs every input that was active, the exact page and the difference between expected and observed. Use one block per failed case:
# Template. Replace every <placeholder>; do not paste credentials.
case: L05 currency override
exit country: <country> exit IP: <203.0.113.x style address, shared privately>
locale / tz: <en-GB> / <Europe/London>
state: <fresh context | saved state from L10 | synthetic account region>
url: https://shop.example/<path>
steps: 1. <...> 2. <...> 3. <...>
expected: <from the spec, with a link to the rule>
observed: <what the page showed, plus screenshot name>
repeats: <reproduced on a second fresh run? yes/no>Reproduce once with identical inputs before changing anything. If the second run passes, log it as intermittent with the exit IP of both runs. If the exit country itself looks wrong, hand over to the location mismatch checklist instead of filing a storefront bug.
8. Select the countries for your test matrix
Pick the countries where your storefront rules differ. Each of our ports is one physical 4G/5G modem with its own SIM, assigned to you alone for the rental, over HTTP or SOCKS5. Plans are one-time and do not auto-renew. There is no data cap on our side; a carrier may slow a SIM under its fair-use rules.
| Market | 10 hours | 7 days | 30 days |
|---|---|---|---|
| United States (T-Mobile) | EUR 5 | EUR 47 | EUR 107 |
| United Kingdom (Three) | EUR 5 | EUR 44 | EUR 99 |
| Netherlands (Vodafone) | EUR 5 | EUR 44 | EUR 99 |
The 10-hour plan is a practical window for one country pass of the checklist. If you rerun it after each storefront release, a 7-day or 30-day port saves ordering again every time. Current plans are on pricing, and the wider QA workflow is on the geo testing and e-commerce solution pages.
Frequently asked questions
What should an ecommerce localization test cover?
Language, currency, availability, country redirects, shipping messages and the consent interface, each checked against your own specification for that country. Test fresh visits, explicit selection and saved or account preferences separately.
How do I test my website currency by country?
Open a stable product page in a fresh browser context through an exit IP in the target country and record the currency code and format. Then pick another currency in your selector and confirm that listing, product and cart pages all switch.
Does a proxy change the browser language or timezone?
No. A proxy changes the network path and therefore the IP address your server sees. Browser language and timezone are separate settings. In Playwright they are the locale and timezoneId context options, and locale also sets the Accept-Language header.
Can I run checkout tests through the proxy?
Stop before payment. Payment-provider traffic is outside this service's supported use, so walk the flow only to the cart and shipping estimate, block payment hosts with request routing, and never place real orders.
Which countries can I test with mobileproxies.org?
The United States (T-Mobile), the United Kingdom (Three) and the Netherlands (Vodafone). Each port is a dedicated 4G/5G modem with its own SIM, and a EUR 5 plan gives 10 hours on one port.
Sources & tools referenced
- • Playwright: emulation (locale, timezone, geolocation, permissions)
- • Playwright: browser.newContext() options (locale and Accept-Language, timezoneId, proxy)
- • Playwright: network, proxy settings and aborting requests
- • Playwright: browserContext.route() and the service worker note
- • curl: manual page (--proxy, --write-out, redirect_url)
- • mobileproxies.org: e-commerce solution page
Related guides
Select the countries for your storefront test matrix
Start with one market on the EUR 5 plan (10 hours on a dedicated US, UK or Netherlands port), run the 18 cases, and extend to a 7-day or 30-day plan only if your release cycle needs it.