Skip to content

Commit 7d82946

Browse files
committed
One html result file per browser
1 parent 45552c9 commit 7d82946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/protractor-xml2html-reporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ this.from = function(reportXml, testConfig) {
188188
report.time = report.time.toLocaleString();
189189

190190
//write to html file
191-
var testOutputPath = getPath('/test-html-report.html', testConfig['outputPath']);
191+
var testOutputPath = getPath('/' + report.browser + '-test-report.html', testConfig['outputPath']);
192192
fileSystem.writeFileSync(
193193
testOutputPath,
194194
_.template(readFile(getPath('index.tmpl')))({

0 commit comments

Comments
 (0)