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:

Screenshot 2022-09-30 at 14 36 50

While having less lines seem to work: Screenshot 2022-09-30 at 14 37 49

_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)

Most upvoted comments

Thanks for confirming @Norva-bugged , closing!

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!