Ner Browasertime

This commit is contained in:
soulgalore 2022-05-17 05:37:27 +02:00
parent d874cedc8b
commit 112e1b8be2
6 changed files with 21 additions and 9 deletions

View File

@ -1,8 +1,12 @@
# CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
## UNRELEASED
### Added
* Updated to [Browsertime 16.5.0](https://github.com/sitespeedio/browsertime/blob/main/CHANGELOG.md#1650---2022-05-11) that adds `--browsertime.videoParams.thumbsize` so you can set the max size of the filmstrip thumbnails.
### Fixed
* If you set a user agent for Browsertime, also use it for the crawler [#3652](https://github.com/sitespeedio/sitespeed.io/pull/3652).
## 24.7.0 - 2022-05-11
### Added
* Updated to [Browsertime 16.4.0](https://github.com/sitespeedio/browsertime/blob/main/CHANGELOG.md#1640---2022-05-11) fixes a bug for LCP in the video and also output when LCP happens in the video.

View File

@ -1 +1 @@
16.4.0
16.5.0

View File

@ -82,6 +82,7 @@ video
--videoParams.addTimer Add timer and metrics to the video. [boolean] [default: true]
--videoParams.debug Turn on debug to record a video with all pre/post and scripts/URLS you test in one iteration. Visual Metrics will then automatically be disabled. [boolean] [default: false]
--videoParams.keepOriginalVideo Keep the original video. Use it when you have a Visual Metrics bug and want to create an issue at GitHub [boolean] [default: false]
--videoParams.thumbsize The maximum size of the thumbnail in the filmstrip. Default is 400 pixels in either direction. If videoParams.filmstripFullSize is used that setting overrides this. [default: 400]
--videoParams.filmstripFullSize Keep original sized screenshots. Will make the run take longer time [boolean] [default: false]
--videoParams.filmstripQuality The quality of the filmstrip screenshots. 0-100. [default: 75]
--videoParams.createFilmstrip Create filmstrip screenshots. [boolean] [default: true]

View File

@ -532,6 +532,13 @@ module.exports.parseCommandLine = function parseCommandLine() {
describe: 'Create filmstrip screenshots.',
group: 'Filmstrip'
})
.option('browsertime.videoParams.thumbsize', {
alias: 'videoParams.thumbsize',
default: 400,
describe:
'The maximum size of the thumbnail in the filmstrip. Default is 400 pixels in either direction. If browsertime.videoParams.filmstripFullSize is used that setting overrides this.',
group: 'Filmstrip'
})
.option('filmstrip.showAll', {
type: 'boolean',
default: false,

14
npm-shrinkwrap.json generated
View File

@ -13,7 +13,7 @@
"@tgwf/co2": "0.8.0",
"aws-sdk": "2.1121.0",
"axe-core": "4.4.1",
"browsertime": "16.4.0",
"browsertime": "16.5.0",
"cli-color": "2.0.2",
"coach-core": "7.1.2",
"concurrent-queue": "7.0.2",
@ -1681,9 +1681,9 @@
}
},
"node_modules/browsertime": {
"version": "16.4.0",
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-16.4.0.tgz",
"integrity": "sha512-rbkN9KVJZLHICrWV0V9RNw/MBeta+zDGOI0sYJYQC/Usp+JOII1UJJt4qNHp54ixjAP8yxIQOJMTfAyDqnJTBw==",
"version": "16.5.0",
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-16.5.0.tgz",
"integrity": "sha512-4RacX8OOb7MsnMSsNMGDGyiFj8EyFIBiiXS92M4nRmKaBawiKFWtgXJxyDdynRb3TT9VsSSXFBOqqGC4/Lp5+Q==",
"dependencies": {
"@cypress/xvfb": "1.2.4",
"@devicefarmer/adbkit": "2.11.3",
@ -9761,9 +9761,9 @@
}
},
"browsertime": {
"version": "16.4.0",
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-16.4.0.tgz",
"integrity": "sha512-rbkN9KVJZLHICrWV0V9RNw/MBeta+zDGOI0sYJYQC/Usp+JOII1UJJt4qNHp54ixjAP8yxIQOJMTfAyDqnJTBw==",
"version": "16.5.0",
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-16.5.0.tgz",
"integrity": "sha512-4RacX8OOb7MsnMSsNMGDGyiFj8EyFIBiiXS92M4nRmKaBawiKFWtgXJxyDdynRb3TT9VsSSXFBOqqGC4/Lp5+Q==",
"requires": {
"@cypress/xvfb": "1.2.4",
"@devicefarmer/adbkit": "2.11.3",

View File

@ -80,7 +80,7 @@
"@tgwf/co2": "0.8.0",
"aws-sdk": "2.1121.0",
"axe-core": "4.4.1",
"browsertime": "16.4.0",
"browsertime": "16.5.0",
"coach-core": "7.1.2",
"cli-color": "2.0.2",
"concurrent-queue": "7.0.2",