webdriverio: [🐛 Bug]: JUnit reporter breaks XML spec when getting too long
I am running into this issue and wonder if there is a way to either remove system-out or fix the reporter starting to choke after many lines.
I set all logging to silent and tried to tweak errorOptions but it still puts this verbose logs in there.
Thus working fine for around 1500 lines, it starts to choke at some point leaving the XML file unparseable:

While having less lines seem to work:

_Originally posted by @Primajin in https://github.com/webdriverio/webdriverio/issues/6499#issuecomment-1263521557_
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (12 by maintainers)
Thanks for confirming @Norva-bugged , closing!
It is right here: https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-junit-reporter
Thanks for reporting!
Any contributions that resolves the bug are highly appreciated. Please take a look into our contribution guidelines and let us know if you have any questions. Cheers!