Skip to content

Commit 7cfc745

Browse files
Update test to get location of runner.
1 parent 47ffd2a commit 7cfc745

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/playwright.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
- name: Checkout
2424
uses: actions/checkout@v4
2525

26+
- name: Get runner geolocation
27+
run: |
28+
curl https://ipinfo.io
29+
2630
- name: Set up Node environment
2731
uses: ./.github/actions/setup-node-env
2832

dotcom-rendering/playwright/lib/load-page.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ const loadPage = async ({
5151
const paramsString = queryParamsOn
5252
? `?${new URLSearchParams({
5353
adtest: 'fixed-puppies-ci',
54+
sp_geo_override: region,
5455
...queryParams,
5556
}).toString()}`
5657
: '';

0 commit comments

Comments
 (0)