dependency: update dependency webdriver to v9.11.0 (#31315)

* fix(deps): update dependency webdriver to v9.11.0

* empty commit

* add changelog entry

* run some more tests

* add a comment for the postinstall running in the server

* bump circleci cache

* put patch-package back

* bump cache

* chore: update patches and add tests in test static assets

* fix changelog

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: AtofStryker <bglesias@gmail.com>
This commit is contained in:
renovate[bot]
2025-03-27 13:14:43 -04:00
committed by GitHub
parent 507dab8059
commit 2d4702979b
7 changed files with 67 additions and 29 deletions
+37
View File
@@ -66,6 +66,43 @@ const testStaticAssets = async (buildResourcePath) => {
'return callback((data instanceof ArrayBuffer || isArrayBuffer(data)) ? data : data.buffer);',
],
}),
testPackageStaticAssets({
assetGlob: `${buildResourcePath}/packages/server/node_modules/geckodriver/dist/install.js`,
badStrings: [
'await download()',
],
goodStrings: [
'download()',
],
}),
testPackageStaticAssets({
assetGlob: `${buildResourcePath}/packages/server/node_modules/edgedriver/dist/install.js`,
badStrings: [
'await download()',
],
goodStrings: [
'download()',
],
}),
testPackageStaticAssets({
assetGlob: `${buildResourcePath}/packages/server/node_modules/@wdio/protocols/build/index.js`,
badStrings: [
'name: "addon"',
'description: "base64 string of the add on file"',
],
goodStrings: [
'name: "path"',
'description: "path to the extension"',
],
}),
testPackageStaticAssets({
assetGlob: `${buildResourcePath}/packages/server/node_modules/@wdio/utils/build/node.js`,
badStrings: [],
goodStrings: [
`log.setLevel(debugModule.enabled('cypress-verbose:server:browsers:webdriver') ? 'info' : 'silent')`,
`log2.setLevel(debugModule.enabled('cypress-verbose:server:browsers:webdriver') ? 'info' : 'silent')`,
],
}),
])
}