{"push_id":1328061318,"size":1,"distinct_size":1,"ref":"refs/heads/fea-instance-screenshots","head":"12e4b14c47753e09f0f69af0c5ab624d5e904d5d","before":"5913275b5b1a0603cd350965803199b9e7ecd0bc","commits":[{"sha":"12e4b14c47753e09f0f69af0c5ab624d5e904d5d","author":{"name":"Andrej Zachar","email":"c330794fb04cb74fb73ce4e3977f92a65e05f10e@chocolatejar.eu"},"message":"feat: makes screenshots using multi browser instances including bootstrap reporters\n\n*Usage*\nIn order to use it, you need to keep a track of all instances by yourself:\n\nYou can do it like this\n```\nvar a  = browser.forkNewInstance();\nvar b  = browser.forkNewInstance();\n\nglobal.screenshotBrowsers['anyCustomNameOfBrowser'] = a;\nglobal.screenshotBrowsers.userB = b;\n```\n\nif you close the browser, remove it also from global.screenshotBrowsers\n\n```\ndelete global.screenshotBrowsers.userB;\n```\n\nto reset screenshotBrowsers from your previous spec use this code\n\n```\n  beforeAll(function() {\n    global.screenshotBrowsers = {};\n  });\n```\n\nBreaking changes\n\nAdded new config options\n\n*screenshotOnExpect*\n*screenshotOnSpec*\n\nPossible values are ``'failure+success', 'failure', 'none'``\n\nThe overall config looks like this now:\n\n exports.config = {\n *      plugins: [{\n *      package: 'jasmine2-protractor-utils',\n *      screenshotOnExpect: {String}    (Default - 'failure+success', 'failure', 'none'),\n *      screenshotOnSpec: {String}    (Default - 'failure+success', 'failure', 'none'),\n *      htmlReport: {Boolean}      (Default - true),\n *      screenshotPath: {String}                (Default - 'reports/screenshots')\n *      clearFoldersBeforeTest: {Boolean}       (Default - false),\n *      failTestOnErrorLog: {\n *               failTestOnErrorLogLevel: {Number},  (Default - 900)\n *               excludeKeywords: {A JSON Array}\n *          }\n *       }]\n *    };\n\nNote: failTestOnErrorLog is not implemented to support multiple browsers","distinct":true,"url":"https://api.github.com/repos/azachar/jasmine2-protractor-utils/commits/12e4b14c47753e09f0f69af0c5ab624d5e904d5d"}]}
{"actor":{"display_login":"azachar"}}