Fix broken link to screenshots in meta data and Slack. (#3163)
As reported in https://github.com/sitespeedio/compare/issues/108
This commit is contained in:
parent
6ef6700407
commit
34bfaf8476
|
|
@ -202,9 +202,8 @@ module.exports = {
|
|||
}
|
||||
if (this.resultUrls.hasBaseUrl()) {
|
||||
const base = this.resultUrls.absoluteSummaryPagePath(url);
|
||||
_meta.screenshot = `${base}data/screenshots/${runIndex + 1}.${
|
||||
this.screenshotType
|
||||
}`;
|
||||
_meta.screenshot = `${base}data/screenshots/${runIndex +
|
||||
1}/afterPageCompleteCheck.${this.screenshotType}`;
|
||||
_meta.result = `${base}${runIndex + 1}.html`;
|
||||
if (options.video) {
|
||||
_meta.video = `${base}data/video/${runIndex + 1}.mp4`;
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ module.exports = function(
|
|||
if (resultUrls.hasBaseUrl()) {
|
||||
attachement['image_url'] =
|
||||
resultUrls.absoluteSummaryPagePath(url) +
|
||||
'data/screenshots/0.' +
|
||||
'data/screenshots/1/afterPageCompleteCheck.' +
|
||||
screenshotType;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue