Regional QA starter — Mobileproxies.org

This project contains two different checks:
1. A local fixture checks browser locale handling. Its country value is fixed.
   Passing it does NOT verify proxy routing or IP geolocation.
2. A remote test checks an HTTPS page you own or are authorized to test, through
   your proxy. That page must expose its actual application country in an element
   with data-testid="country-code". Adapt selectors to your application.

Install: npm ci
Install Chromium: npx playwright install chromium
Run: npm test

The fixture binds only to 127.0.0.1:4327. The test fails if that port is occupied;
identify the process before choosing a different port. Do not stop unknown services.

The remote test is skipped locally until MP_TEST_URL is set. Configure the variables
listed in .env.example using your normal secret tooling. This example does not load
.env files automatically. The CI workflow explicitly fails for missing variables.
The proxy SERVER contains scheme, host and port; credentials are separate fields.
Use an active HTTP proxy rental and check the exit IP from the same context before
relying on a country result. Browser locale/timezone are separate from IP location.

GitHub Actions runs manually on trusted repository code. Store MP_PROXY_SERVER,
MP_PROXY_USERNAME, MP_PROXY_PASSWORD and MP_TEST_URL as repository secrets. Store
MP_EXPECTED_COUNTRY, MP_LOCALE and MP_TIMEZONE as repository variables. Adapt the
workflow path if this project lives below the repository root. Restrict who can run
or change this workflow. Never expose proxy secrets to untrusted pull-request code.

Traces, screenshots, videos and artifact uploads are disabled by default. Add them
only after reviewing their data content and retention. The fixture URL must not
include username/password credentials. Test reports may show the destination URL;
keep sensitive tokens out of that URL too.

No real purchase, payment-provider traffic or paid ad clicks are part of this test.
Use an authorized synthetic or sandbox scenario. A passing test checks the expected
country element; it does not certify all regional behavior or product availability.
