Skip to content

Commit e43d496

Browse files
👷 Update dependency @playwright/test to v1.61.0 (#4828)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Thomas Lebeau <thomas.lebeau@datadoghq.com>
1 parent 7afa594 commit e43d496

4 files changed

Lines changed: 28 additions & 19 deletions

File tree

‎.gitlab-ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
variables:
22
CURRENT_STAGING: staging-27
33
APP: 'browser-sdk'
4-
CURRENT_CI_IMAGE: 113
4+
CURRENT_CI_IMAGE: 114
55
BUILD_STABLE_REGISTRY: 'registry.ddbuild.io'
66
CI_IMAGE: '$BUILD_STABLE_REGISTRY/ci/$APP:$CURRENT_CI_IMAGE'
77
GIT_REPOSITORY: 'git@github.com:DataDog/browser-sdk.git'

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@eslint/js": "10.0.1",
4949
"@jsdevtools/coverage-istanbul-loader": "3.0.5",
5050
"@microsoft/api-extractor": "7.58.9",
51-
"@playwright/test": "1.60.0",
51+
"@playwright/test": "1.61.0",
5252
"@swc/core": "1.15.41",
5353
"@types/busboy": "1.5.4",
5454
"@types/chrome": "0.1.43",

‎test/e2e/scripts/pinnedProxy.ts‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// WebSocket translation proxy that lets a recent @playwright/test client (1.60) drive an
1+
// WebSocket translation proxy that lets a recent @playwright/test client (1.61) drive an
22
// older `playwright run-server` (1.40). Two layers of translation:
33
//
44
// 1) HTTP upgrade — the 1.40 server's User-Agent version check rejects mismatched clients
@@ -10,7 +10,7 @@
1010
//
1111
// Patches were derived from a diff of the JSON-RPC protocol schema in packages/protocol/src
1212
// (`protocol.yml` up to v1.59.1, `channels.d.ts` from v1.60.0 onward — `protocol.yml` was
13-
// removed in 1.60) between v1.40.1 and v1.60.0 — only the divergences exercised by this
13+
// removed in 1.60) between v1.40.1 and v1.61.0 — only the divergences exercised by this
1414
// repo's e2e tests are translated.
1515
//
1616
// Usage: node pinnedProxy.ts --listen 5400 --upstream 127.0.0.1:5401
@@ -269,6 +269,15 @@ function rewriteClientToServer(
269269
if (typeof msg.method !== 'string') {
270270
return text
271271
}
272+
273+
// __waitInfo__ is a fire-and-forget instrumentation message added in 1.61 (replacing the
274+
// old EventTargetChannel.waitForEventInfo pattern). The client never registers a callback
275+
// for it, so if the 1.40 server receives it and sends back an error response, the client
276+
// throws "Cannot find command to respond: <id>". Drop it instead of forwarding.
277+
if (msg.method === '__waitInfo__') {
278+
return null
279+
}
280+
272281
const type = msg.guid ? guidTypes.get(msg.guid) : undefined
273282
const params = msg.params || {}
274283

‎yarn.lock‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,14 +1837,14 @@ __metadata:
18371837
languageName: node
18381838
linkType: hard
18391839

1840-
"@playwright/test@npm:1.60.0":
1841-
version: 1.60.0
1842-
resolution: "@playwright/test@npm:1.60.0"
1840+
"@playwright/test@npm:1.61.0":
1841+
version: 1.61.0
1842+
resolution: "@playwright/test@npm:1.61.0"
18431843
dependencies:
1844-
playwright: "npm:1.60.0"
1844+
playwright: "npm:1.61.0"
18451845
bin:
18461846
playwright: cli.js
1847-
checksum: 10c0/86b06e6437933e741c7cd43f362024e857e7bc28a55fcbb0553ef55e01a2a403c64f4786868de8af86a6e303fe99e98a18a42ba19489f43ae122e457f9e2d189
1847+
checksum: 10c0/993f5e30878f50c92c058f7a37f15bca456b794f2818a8c0b75bf09bc947657d56fee836ff4ebee83a869a3471663f0d61ca4eaaae31dd1bcf8bf4342344be35
18481848
languageName: node
18491849
linkType: hard
18501850

@@ -3923,7 +3923,7 @@ __metadata:
39233923
"@eslint/js": "npm:10.0.1"
39243924
"@jsdevtools/coverage-istanbul-loader": "npm:3.0.5"
39253925
"@microsoft/api-extractor": "npm:7.58.9"
3926-
"@playwright/test": "npm:1.60.0"
3926+
"@playwright/test": "npm:1.61.0"
39273927
"@swc/core": "npm:1.15.41"
39283928
"@types/busboy": "npm:1.5.4"
39293929
"@types/chrome": "npm:0.1.43"
@@ -8774,27 +8774,27 @@ __metadata:
87748774
languageName: node
87758775
linkType: hard
87768776

8777-
"playwright-core@npm:1.60.0":
8778-
version: 1.60.0
8779-
resolution: "playwright-core@npm:1.60.0"
8777+
"playwright-core@npm:1.61.0":
8778+
version: 1.61.0
8779+
resolution: "playwright-core@npm:1.61.0"
87808780
bin:
87818781
playwright-core: cli.js
8782-
checksum: 10c0/99ccd43923b6e9355e0723b7fe221e6326efd4687f8dafff951313662aea11db51f542a9c2122c704c445fb9baae1c9ec9fa6f895126bbddd9fe92313f6942c9
8782+
checksum: 10c0/64cbf5e9f4ad81cbb005d59417e96435e324a6e3801f1c79b36850ad99f6bb90853c4b569a32c49b9eca1e07925bbb2a5a864babdba2178c3c395e0c589d5941
87838783
languageName: node
87848784
linkType: hard
87858785

8786-
"playwright@npm:1.60.0":
8787-
version: 1.60.0
8788-
resolution: "playwright@npm:1.60.0"
8786+
"playwright@npm:1.61.0":
8787+
version: 1.61.0
8788+
resolution: "playwright@npm:1.61.0"
87898789
dependencies:
87908790
fsevents: "npm:2.3.2"
8791-
playwright-core: "npm:1.60.0"
8791+
playwright-core: "npm:1.61.0"
87928792
dependenciesMeta:
87938793
fsevents:
87948794
optional: true
87958795
bin:
87968796
playwright: cli.js
8797-
checksum: 10c0/714ad76d85b4865d7e43c0012f9039800c1485373388973ed39d79339cee5ad467052d1e2f1eaeca107a1cb6e65342186a8578a4c3504853d84c3a691250d5db
8797+
checksum: 10c0/079dceebe8b745fa6062a3af928024d0c508177fbf15d61dba09ba173f277465ad3746fdc1b31788ade65428f4d3f92fc8083b44c07381b088721eaa2ea06513
87988798
languageName: node
87998799
linkType: hard
88008800

0 commit comments

Comments
 (0)