-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maven failsafe plugin reports parsing fails: [Error: Cannot read properties of undefined (reading 'testsuite')] #184
Comments
Also encountering the same issue:
Maven Plugin version: Same error as previous |
Ah, this is due to it picking up the summary file (failsafe-summary.xml) which appears in the failsafe-reports directory! report_paths: Changing to While this is a misconfiguration, I do feel like it's a bit of a footgun and should probably be addressed more gracefully in the code, at the very least report the file that caused the error in the output. This should work for you too @dejan-stojadinovic dejan-stojadinovic |
@dejan-stojadinovic @robbie-cronometer thank you for reporting the issue. Unfortunately we don't have the capacity to look into this at the moment, but I'll try to find a fix next month. If you already have an idea on how to fix or improve the error visibility, feel free to raise a pull request. |
I too facing this issue while parsing the testng-results.xml , it says Cannot read properties of undefined (reading 'testsuite'), @ghaiszaher any workaround for now ? |
@dejan-stojadinovic @robbie-cronometer @rahulshrivastava-eaton this should be fixed with v1.7.3. Please reopen if you still face the issue. |
Configuration:
Maven plugin version:
Github Actions workflow error:
Note: can't share code, repository is private.
The text was updated successfully, but these errors were encountered: