diff --git a/cli/test/smokehouse/test-definitions/dobetterweb.js b/cli/test/smokehouse/test-definitions/dobetterweb.js index 00662bb23de7..f314b38e4d38 100644 --- a/cli/test/smokehouse/test-definitions/dobetterweb.js +++ b/cli/test/smokehouse/test-definitions/dobetterweb.js @@ -509,22 +509,6 @@ const expectations = { }], }, }, - { - // The DevTools runner uses Puppeteer to launch Chrome which disables BFCache by default. - // https://github.com/puppeteer/puppeteer/issues/8197 - // - // If we ignore the Puppeteer args and force BFCache to be enabled, it causes thew viewport to be sized incorrectly for other tests. - // These viewport issues are not present when Lighthouse is run from DevTools manually. - // TODO: Investigate why BFCache causes viewport issues only in our DevTools smoke tests. - _runner: 'devtools', - reason: 'Back/forward cache is disabled by flags. Visit chrome://flags/#back-forward-cache to enable it locally on this device.', - failureType: 'Not actionable', - subItems: { - items: [{ - frameUrl: 'http://localhost:10200/dobetterweb/dbw_tester.html', - }], - }, - }, ], }, }, diff --git a/package.json b/package.json index f10e84630d61..6fe2b5079c7d 100644 --- a/package.json +++ b/package.json @@ -166,7 +166,7 @@ "pako": "^2.0.3", "preact": "^10.7.2", "pretty-json-stringify": "^0.0.2", - "puppeteer": "^21.0.3", + "puppeteer": "^21.1.1", "resolve": "^1.22.1", "rollup": "^2.52.7", "rollup-plugin-polyfill-node": "^0.12.0", @@ -199,7 +199,7 @@ "open": "^8.4.0", "parse-cache-control": "1.0.1", "ps-list": "^8.0.0", - "puppeteer-core": "^21.0.3", + "puppeteer-core": "^21.1.1", "robots-parser": "^3.0.1", "semver": "^5.3.0", "speedline-core": "^1.4.3", diff --git a/yarn.lock b/yarn.lock index 80b9e6a8c03a..546c90e81751 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1089,10 +1089,10 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA= -"@puppeteer/browsers@1.6.0": - version "1.6.0" - resolved "https://registry.yarnpkg.com/@puppeteer/browsers/-/browsers-1.6.0.tgz#d52413a7039e40a5ef72fb13fb6505fd87ce842e" - integrity sha512-R2ib8j329427jtKB/qlz0MJbwfJE/6I8ocJLiajsRqJ2PPI8DbjiNzC3lQZeISXEcjOBVhbG2RafN8SlHdcT+A== +"@puppeteer/browsers@1.7.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@puppeteer/browsers/-/browsers-1.7.0.tgz#714a25ad6963f5478e36004ea7eda254870a4659" + integrity sha512-sl7zI0IkbQGak/+IE3VEEZab5SSOlI5F6558WvzWGC1n3+C722rfewC1ZIkcF9dsoGSsxhsONoseVlNQG4wWvQ== dependencies: debug "4.3.4" extract-zip "2.0.1" @@ -2284,10 +2284,10 @@ chrome-launcher@^1.0.0: is-wsl "^2.2.0" lighthouse-logger "^2.0.1" -chromium-bidi@0.4.20: - version "0.4.20" - resolved "https://registry.yarnpkg.com/chromium-bidi/-/chromium-bidi-0.4.20.tgz#1cd56426638452b40b29b7054e83c379e7e2b20a" - integrity sha512-ruHgVZFEv00mAQMz1tQjfjdG63jiPWrQPF6HLlX2ucqLqVTJoWngeBEKHaJ6n1swV/HSvgnBNbtTRIlcVyW3Fw== +chromium-bidi@0.4.22: + version "0.4.22" + resolved "https://registry.yarnpkg.com/chromium-bidi/-/chromium-bidi-0.4.22.tgz#625dab72946e177f538da2d2b8a681652ef916da" + integrity sha512-wR7Y9Ioez+cNXT4ZP7VNM1HRTljpNnMSLw4/RnwhhZUP4yCU7kIQND00YiktuHekch68jklGPK1q9Jkb29+fQg== dependencies: mitt "3.0.1" @@ -2871,7 +2871,7 @@ delayed-stream@~1.0.0: resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= -devtools-protocol@0.0.1147663, devtools-protocol@0.0.1155343: +devtools-protocol@0.0.1155343, devtools-protocol@0.0.1159816: version "0.0.1155343" resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.1155343.tgz#9e4ce46e9b05a1be6d6b629fbfaa1a38b1c18a3b" integrity sha512-oD9vGBV2wTc7fAzAM6KC0chSgs234V8+qDEeK+mcbRj2UvcuA7lgBztGi/opj/iahcXD3BSj8Ymvib628yy9FA== @@ -5968,26 +5968,26 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -puppeteer-core@21.0.3, puppeteer-core@^21.0.3: - version "21.0.3" - resolved "https://registry.yarnpkg.com/puppeteer-core/-/puppeteer-core-21.0.3.tgz#201bfbf18a9467dbedb10c3c2c9c43462bb9bb84" - integrity sha512-AGvopfkA0jLbW5Ba0m6kBuvRIpLo76PXUK3zJYkXOr9NI1LknJESyai6TtXc6GUSewMkinmyEDx1pFgq900hqg== +puppeteer-core@21.1.1, puppeteer-core@^21.1.1: + version "21.1.1" + resolved "https://registry.yarnpkg.com/puppeteer-core/-/puppeteer-core-21.1.1.tgz#59be20b6f69acc2139ba2d9e02a33793b59254ff" + integrity sha512-Tlcajcf44zwfa9Sbwv3T8BtaNMJ69wtpHIxwl2NOBTyTK3D1wppQovXTjfw0TDOm3a16eCfQ+5BMi3vRQ4kuAQ== dependencies: - "@puppeteer/browsers" "1.6.0" - chromium-bidi "0.4.20" + "@puppeteer/browsers" "1.7.0" + chromium-bidi "0.4.22" cross-fetch "4.0.0" debug "4.3.4" - devtools-protocol "0.0.1147663" + devtools-protocol "0.0.1159816" ws "8.13.0" -puppeteer@^21.0.3: - version "21.0.3" - resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-21.0.3.tgz#210ae2e139d7ded577ac9f38697b69adab258ce5" - integrity sha512-+eBNTEOOBrRBLJ1/jIuHcOoUUOVpUQjQFwp9L/sm/iBDqii+4jv9jxpPJSOmOHXuy++X7GWfhuDw4vz8crNzPw== +puppeteer@^21.1.1: + version "21.1.1" + resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-21.1.1.tgz#48f895dc89f1a8874a0cefcfb05a22f979e6f9a8" + integrity sha512-2TLntjGA4qLrI9/8N0UK/5OoZJ2Ue7QgphN2SD+RsaHiha12AEiVyMGsB+i6LY1IoPAtEgYIjblQ7lw3kWDNRw== dependencies: - "@puppeteer/browsers" "1.6.0" + "@puppeteer/browsers" "1.7.0" cosmiconfig "8.2.0" - puppeteer-core "21.0.3" + puppeteer-core "21.1.1" q@^1.5.1: version "1.5.1"