This repository verifies the fix for the WebdriverIO JUnit reporter bug (#8970), where large log outputs previously caused malformed XML. WebdriverIO 9.x resolves this issue. This project tests the fix by generating 10,000+ logs and ensuring the XML remains valid.
- Bug #8970: JUnit reporter previously failed with large logs (1,500+ lines).
- WebdriverIO 9.x now correctly generates valid XML with high log volumes.
- Node.js
- npm
cd webdriverio-reformed-xml
npm installnpm testRuns logs.test.js, generating 10,000 logs and saving results to junit-reports/results.xml.
npm run analyzeChecks if the XML is valid and logs are recorded correctly.