jemishgopani / wdio-json-reporter

A WebdriverIO plugin. Report results in json format. http://webdriver.io
13 stars 32 forks source link

Add a newline character to the JSON output so that separate test runners are not outputting JSON objects next to each other on a single line #75

Closed giantryansaul closed 6 months ago

giantryansaul commented 1 year ago

We have a use case where we are running multiple concurrent sessions. WDIO seems to fire the onRunnerEnd event for all of these runners and then the json reporter mashes them all into one line.

We were running a datadog agent to pull the json reports, but since they were all on one line it was tripping up datadog. This just separates the reports into new lines as they are written. Other ideas are welcome but this got us where we needed to be.

github-actions[bot] commented 7 months ago

Stale pull request message