diff --git a/src/screenshots/capturer.js b/src/screenshots/capturer.js index da5be70afb3..952ba9780b4 100644 --- a/src/screenshots/capturer.js +++ b/src/screenshots/capturer.js @@ -58,7 +58,7 @@ export default class Capturer { return joinPath(this.baseScreenshotsPath, path); } - _updateScreenshotPathForTestEntry (customPath, screenshotPath) { + _updateScreenshotPathForTestEntry (customPath) { // NOTE: if test contains takeScreenshot action with custom path // we should specify the most common screenshot folder in report let screenshotPathForTestEntry = this.baseScreenshotsPath; @@ -125,7 +125,7 @@ export default class Capturer { await generateThumbnail(screenshotPath, thumbnailPath); }); - this._updateScreenshotPathForTestEntry(customPath, screenshotPath); + this._updateScreenshotPathForTestEntry(customPath); const screenshot = { screenshotPath,