diff --git a/core/util/createBitmaps.js b/core/util/createBitmaps.js index 4133f1dee..6ee1f5c41 100644 --- a/core/util/createBitmaps.js +++ b/core/util/createBitmaps.js @@ -47,7 +47,7 @@ function decorateConfigForCapture (config, isReference) { } const screenshotNow = new Date(); - let screenshotDateTime = screenshotNow.getFullYear() + pad(screenshotNow.getMonth() + 1) + pad(screenshotNow.getDate()) + '-' + pad(screenshotNow.getHours()) + pad(screenshotNow.getMinutes()) + pad(screenshotNow.getSeconds()); + let screenshotDateTime = screenshotNow.getFullYear() + pad(screenshotNow.getMonth() + 1) + pad(screenshotNow.getDate()); screenshotDateTime = configJSON.dynamicTestId ? configJSON.dynamicTestId : screenshotDateTime; configJSON.screenshotDateTime = screenshotDateTime; config.screenshotDateTime = screenshotDateTime; @@ -183,4 +183,4 @@ module.exports = function (config, isReference) { }); return promise; -}; +}; \ No newline at end of file diff --git a/docker/Dockerfile b/docker/Dockerfile index 7d857d728..f8dc56839 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -9,7 +9,7 @@ ENV \ RUN apt-get update && \ apt-get install -y git sudo software-properties-common -RUN sudo npm install -g --unsafe-perm=true --allow-root backstopjs@${BACKSTOPJS_VERSION} +RUN sudo npm install -g --unsafe-perm=true --allow-root git+https://github.com/anton-kulagin/BackstopJS.git RUN wget https://dl-ssl.google.com/linux/linux_signing_key.pub && sudo apt-key add linux_signing_key.pub RUN sudo add-apt-repository "deb http://dl.google.com/linux/chrome/deb/ stable main"