wdio-summary-reporter
Advanced tools
Comparing version 0.0.17 to 0.0.18
{ | ||
"name": "wdio-summary-reporter", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/reporter/reporter.js", |
@@ -114,2 +114,3 @@ const events = require('events'); | ||
var suiteInfo = specInfo.suites[suiteName]; | ||
console.log(JSON.stringify(suiteInfo.tests)); | ||
if (!suiteInfo.uid.includes('before all') && !suiteInfo.uid.includes('after all') && Object.keys(suiteInfo.tests).length > 0) { | ||
@@ -122,3 +123,3 @@ for (let testName of Object.keys(suiteInfo.tests)) { | ||
const div3Opening = '<div class="screenshots-scroll-container">'; | ||
const images = suiteInfo.screenshots.reduce(accumulator, currentValue => | ||
const images = suiteInfo.tests[testName].screenshots.reduce(accumulator, currentValue => | ||
`${accumulator}<a target="_blank" href="${currentValue}"><img src="${currentValue}" /></a>` | ||
@@ -125,0 +126,0 @@ , ''); |
5160
115