Skip to content

Commit 15bddc3

Browse files
author
aehnh
committed
fix UA to show the right version for javascript high entropy
1 parent c9d0eac commit 15bddc3

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/deploy-playground-and-test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
test:
104104
needs: deploy
105105
timeout-minutes: 60
106-
runs-on: macos-15
106+
runs-on: ubuntu-24.04
107107

108108
steps:
109109
- name: Checkout code
@@ -141,10 +141,8 @@ jobs:
141141
run: |
142142
cd packages/tests-e2e
143143
npm install
144-
# brew update
145-
# brew install libxml2
146-
# sudo apt-get update
147-
# sudo apt-get install -y libxml2-utils
144+
sudo apt-get update
145+
sudo apt-get install -y libxml2-utils
148146
149147
- uses: actions/cache@v3
150148
id: playwright-cache

.github/workflows/test-all.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
test:
1414
timeout-minutes: 60
15-
runs-on: macos-15
15+
runs-on: ubuntu-24.04
1616
steps:
1717
- name: Checkout code
1818
uses: actions/checkout@v4
@@ -49,8 +49,8 @@ jobs:
4949
run: |
5050
cd packages/tests-e2e
5151
npm install
52-
# sudo apt-get update
53-
# sudo apt-get install -y libxml2-utils
52+
sudo apt-get update
53+
sudo apt-get install -y libxml2-utils
5454
5555
- uses: actions/cache@v3
5656
id: playwright-cache

packages/tests-e2e/playwright.config.connect.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export default defineConfig({
4444
timeout: operationTimeout, // default: 5000ms
4545
},
4646
use: {
47+
userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 15.3.2) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/129.0.6668.29 Safari/537.36',
4748
actionTimeout: operationTimeout, // default: none
4849
navigationTimeout: operationTimeout, // default: none
4950
baseURL: process.env.PLAYWRIGHT_TEST_URL,

0 commit comments

Comments
 (0)