-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UIE-205] Puppeteer upgrade (version 22.7.1) (#5117)
- Loading branch information
Showing
209 changed files
with
3,423 additions
and
1,447 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-9.54 KB
.yarn/cache/@babel-compat-data-npm-7.23.5-d79bbb1184-06ce244cda.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-21.7 KB
.yarn/cache/@babel-helper-compilation-targets-npm-7.23.6-aa6f07f088-c630b98d45.zip
Binary file not shown.
Binary file added
BIN
+21.8 KB
.yarn/cache/@babel-helper-compilation-targets-npm-7.25.2-27e0232144-aed33c5496.zip
Binary file not shown.
Binary file removed
BIN
-18.2 KB
.yarn/cache/@babel-helper-module-imports-npm-7.24.3-edb733448b-c23492189b.zip
Binary file not shown.
Binary file added
BIN
+18.1 KB
.yarn/cache/@babel-helper-module-imports-npm-7.24.7-f60e66adbf-8ac15d96d2.zip
Binary file not shown.
Binary file removed
BIN
-45.4 KB
.yarn/cache/@babel-helper-module-transforms-npm-7.24.5-c2288b45c7-208c2e3877.zip
Binary file not shown.
Binary file added
BIN
+45.5 KB
.yarn/cache/@babel-helper-module-transforms-npm-7.25.2-2c8d511580-282d4e3308.zip
Binary file not shown.
Binary file removed
BIN
-52.1 KB
.yarn/cache/@babel-helper-plugin-utils-npm-7.24.5-162c4e68e8-fa1450c925.zip
Binary file not shown.
Binary file added
BIN
+46.8 KB
.yarn/cache/@babel-helper-plugin-utils-npm-7.24.8-a288f101a7-73b1a83ba8.zip
Binary file not shown.
Binary file renamed
BIN
+5.91 KB
...cess-npm-7.24.5-9de60df3e9-5616044603.zip → ...cess-npm-7.24.7-beddd00b0e-ddbf55f9de.zip
Binary file not shown.
Binary file removed
BIN
-9.83 KB
.yarn/cache/@babel-helper-string-parser-npm-7.24.1-0a40ece7f8-8404e865b0.zip
Binary file not shown.
Binary file added
BIN
+9.92 KB
.yarn/cache/@babel-helper-string-parser-npm-7.24.8-133b2e71e1-39b03c5119.zip
Binary file not shown.
Binary file renamed
BIN
+17.6 KB
...fier-npm-7.24.5-d1938535fe-75d6f9f475.zip → ...fier-npm-7.24.7-748889c8d2-6799ab117c.zip
Binary file not shown.
Binary file removed
BIN
-7.16 KB
.yarn/cache/@babel-helper-validator-option-npm-7.23.5-d83bbfe738-537cde2330.zip
Binary file not shown.
Binary file added
BIN
+7.22 KB
.yarn/cache/@babel-helper-validator-option-npm-7.24.8-e093ef5016-a52442dfa7.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+8.34 KB
...ight-npm-7.24.5-fca4147cf6-eece0e63e9.zip → ...ight-npm-7.24.7-d792bd8d9f-5cd3a89f14.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.56 KB
.yarn/cache/@babel-plugin-syntax-jsx-npm-7.23.3-9ff8fd9153-8903769431.zip
Binary file not shown.
Binary file added
BIN
+26.6 KB
.yarn/cache/@babel-plugin-syntax-jsx-npm-7.24.7-8f9596c5ff-7a5ca629d8.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+325 KB
...ypes-npm-7.24.5-2710b35119-8eeeacd996.zip → ...ypes-npm-7.25.6-98df73a2ca-9b2f84ff3f.zip
Binary file not shown.
Binary file renamed
BIN
+20.8 KB
...-hoek-npm-9.2.1-5e7f2fab98-6a439f672d.zip → ...-hoek-npm-9.3.0-447eb8d274-4771c7a776.zip
Binary file not shown.
Binary file renamed
BIN
+7.93 KB
...sole-npm-29.6.3-f9f58b36b3-a30b380166.zip → ...sole-npm-29.7.0-77689f186f-0e3624e32c.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+6.36 KB
...sult-npm-29.6.3-fe1932f318-0f81645205.zip → ...sult-npm-29.7.0-4bb532101b-67b6317d52.zip
Binary file not shown.
Binary file added
BIN
+6.06 KB
.yarn/cache/@jest-test-sequencer-npm-29.7.0-291f23a495-73f4359901.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+18.6 KB
...dress-npm-4.1.4-32f94bc9f5-b9fca2a93a.zip → ...dress-npm-4.1.5-a3852745c8-3e3ea0f00b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+19.3 KB
.yarn/cache/@sinonjs-fake-timers-npm-10.3.0-7417f876b4-614d30cb4d.zip
Binary file not shown.
Binary file added
BIN
+684 KB
.yarn/cache/@tootallnate-quickjs-emscripten-npm-0.23.0-a889ea7aeb-c350a2947f.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.31 KB
.yarn/cache/babel-plugin-jest-hoist-npm-29.6.3-46120a3297-51250f2281.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+443 KB
.yarn/cache/devtools-protocol-npm-0.0.1273771-6b542937c9-2a88694ec0.zip
Binary file not shown.
Binary file removed
BIN
-345 KB
.yarn/cache/devtools-protocol-npm-0.0.969999-fa997d27f4-c67e2a4086.zip
Binary file not shown.
Binary file removed
BIN
-36.5 KB
.yarn/cache/electron-to-chromium-npm-1.4.625-4a38c9269f-cc49270f50.zip
Binary file not shown.
Binary file added
BIN
+25.9 KB
.yarn/cache/electron-to-chromium-npm-1.5.29-07d56f9c50-c1de62aaea.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+19.4 KB
.yarn/cache/istanbul-lib-instrument-npm-6.0.3-959dca7404-74104c60c6.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.43 KB
.yarn/cache/jest-environment-node-npm-29.7.0-860b5e25ec-501a996629.zip
Binary file not shown.
Binary file added
BIN
+9.89 KB
.yarn/cache/jest-environment-puppeteer-npm-10.1.1-3caf6560c5-8b83d7161b.zip
Binary file not shown.
Binary file removed
BIN
-12.3 KB
.yarn/cache/jest-environment-puppeteer-npm-6.0.3-1e4974b622-48730cf6a4.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+8.15 KB
...util-npm-29.6.3-e5a3816f61-59f5229a06.zip → ...util-npm-29.7.0-7f88b6e8d1-a9d025b1c6.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.27 KB
.yarn/cache/jest-resolve-dependencies-npm-29.7.0-06ec582f1e-aeb75d8150.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.71 MB
.../rxjs-npm-7.5.5-d0546b1ccb-e034f60805.zip → .../rxjs-npm-7.8.1-41c443a75b-de4b53db10.zip
Binary file not shown.
Binary file renamed
BIN
+39 KB
...emver-npm-7.5.4-c4ad957fcd-12d8ad952f.zip → ...emver-npm-7.6.0-f4630729f6-7427f05b70.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+43.5 KB
...socks-npm-2.8.0-9be534eccc-b245081650.zip → ...socks-npm-2.8.3-3532b59899-7a6b7f6eed.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-6.57 KB
.yarn/cache/update-browserslist-db-npm-1.0.13-ea7b8ee24d-1e47d80182.zip
Binary file not shown.
Binary file added
BIN
+6.86 KB
.yarn/cache/update-browserslist-db-npm-1.1.1-16e34017b1-2ea11bd256.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,11 @@ | ||
/* eslint-disable prefer-template */ | ||
const printWarning = (message) => { | ||
if (process.env.warningPrinted) { | ||
return; | ||
} | ||
console.warn('\n\x1b[1m' /* bold */ + '╔'.padEnd(80, '═') + '╗'); | ||
message.forEach((line) => { | ||
console.warn(`║ ${line}`.padEnd(80) + '║'); | ||
}); | ||
console.warn('╚'.padEnd(80, '═') + '╝'); | ||
console.warn('\x1b[0m' /* not-bold */); | ||
process.env.warningPrinted = true; | ||
}; | ||
|
||
module.exports = { | ||
browserContext: 'incognito', | ||
launch: { | ||
devtools: process.env.DEVTOOLS === 'true', | ||
headless: process.env.HEADLESS !== 'false', | ||
slowMo: process.env.SLOW === 'true' ? 250 : undefined, | ||
defaultViewport: { width: 1200, height: 800 }, | ||
// Workaround for issue when accessing cross domain iframes in puppeteer while not headless: | ||
// https://github.com/GoogleChrome/puppeteer/issues/4960 | ||
args: (({ headfull, devtools }) => { | ||
const flag = '--disable-features=site-per-process'; | ||
|
||
if (headfull && devtools) { | ||
printWarning([ | ||
'iframes Issue'.padStart(40), | ||
'Dev tools cannot be opened in headless mode with the', | ||
`${flag} flag set. If you are running tests`, | ||
'with iframes they will fail with dev tools turned on.', | ||
]); | ||
return []; | ||
} | ||
if (headfull) { | ||
printWarning([ | ||
'Chromium flag set'.padStart(40), | ||
`Headfull mode also sets the ${flag} flag`, | ||
'This allows iframe tests to work in Headfull mode.', | ||
'If you notice unexpected side effects in your tests', | ||
'you can disable this flag in src/jest-puppeteer.config.js', | ||
]); | ||
return [flag]; | ||
} | ||
return []; | ||
})({ headfull: process.env.HEADLESS === 'false', devtools: process.env.DEVTOOLS === 'true' }), | ||
protocolTimeout: 720_000, // 12 minutes | ||
args: [], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.