diff --git a/CHANGELOG.md b/CHANGELOG.md index c6dd89543..15587706a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/docs/_includes/version/browsertime.txt b/docs/_includes/version/browsertime.txt index b21be527a..d9617ea1b 100644 --- a/docs/_includes/version/browsertime.txt +++ b/docs/_includes/version/browsertime.txt @@ -1 +1 @@ -16.4.0 \ No newline at end of file +16.5.0 \ No newline at end of file diff --git a/docs/documentation/browsertime/configuration/config.md b/docs/documentation/browsertime/configuration/config.md index 56fe802b0..e403a56ac 100644 --- a/docs/documentation/browsertime/configuration/config.md +++ b/docs/documentation/browsertime/configuration/config.md @@ -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] diff --git a/lib/cli/cli.js b/lib/cli/cli.js index 56ffb7008..9f6ea791e 100644 --- a/lib/cli/cli.js +++ b/lib/cli/cli.js @@ -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, diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 016c4c14c..98e02cdb3 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -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", diff --git a/package.json b/package.json index d05f5248d..ef9c51b05 100644 --- a/package.json +++ b/package.json @@ -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",