protractor-junit-xml-plugin
Advanced tools
Comparing version 1.1.1 to 1.1.2
12
index.js
@@ -44,3 +44,4 @@ 'use strict' | ||
if (!fs.existsSync(OUTDIR_FINAL)) { | ||
fs.mkdirSync(OUTDIR_FINAL, { recursive: true }); | ||
console.info('CREATING DIR + ' + OUTDIR_FINAL); | ||
fs.mkdir(OUTDIR_FINAL, { recursive: true }, function(){}); | ||
} | ||
@@ -180,3 +181,10 @@ | ||
let summary = 'Protractor UI e2e tests against ' + browser.baseUrl; | ||
console.debug('summary: ' + summary); | ||
// console.debug('summary: ' + summary); | ||
if (pluginConfig.uniqueName === false){ | ||
outputFile = resolveCompleteFileName(pluginConfig.fileName, pluginConfig.outdir, pluginConfig.uniqueFolder, pluginConfig.timeTillMinuteStamp); | ||
} else { | ||
outputFile = resolveCompleteFileName(Math.round((new Date()).getTime() / 1000) + '.xml', pluginConfig.outdir, pluginConfig.uniqueFolder, pluginConfig.timeTillMinuteStamp); | ||
} | ||
if(pluginConfig.useSapphireVCSBuildNumber) { | ||
@@ -183,0 +191,0 @@ vcsVersion = await browser.executeScript('return sapphireWebAppConfig.appVersion'); |
{ | ||
"name": "protractor-junit-xml-plugin", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A Protracotor plugin. Report results in junit xml format including requirement ids if available.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
14972
182