Closed ianoroceo closed 7 years ago
@ianoroceo Looks like you have a typo in your config file.
combine: 'true'
Should be
combined: 'true'
omg! what a noob move of mine. thank you so much @fijijavis
i changed it to combined
based on the documents, its
combined: true
i tried combined: true
and combined: 'true'
but it still didn't combined the reports
reporters: ['dot', 'json'],
reporterOptions: {
outputDir: './Reports',
combined: true,
filename: 'wdio-results' //+ process.env.NODE_ENV + browser + datetime,
},
Let me know what information you need (sorry I am really new on this one node.js + webdriverio). thank you!
@ianoroceo I copied the snippet you provided, used it in one of my projects and got the single combined report. What version of wdio-json-reporter do you have specified in your package.json?
@fijijavis it's
"devDependencies": {
"wdio-json-reporter": "^0.1.1",
},
@ianoroceo a single combined version was not introduced until 0.2.0 . Try bumping to the latest version 0.2.1 and you should be good.
oh! thank you @fijijavis 👍 my bad. updated wdio-json-reporter and it combined now
I have this on my wdio-conf.js