mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-24 07:59:12 -05:00
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:
@@ -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')`,
|
||||
],
|
||||
}),
|
||||
])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user