-
Notifications
You must be signed in to change notification settings - Fork 153
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
Cannot read properties of undefined (reading 'testsuite') #178
Comments
@michaelleeallen could you take a look at this? Look at least 5 dudes with this problem :( |
I have just hit this issue too is there any fix? |
To give up :( |
@Nuxij switching from |
Switching the reporter isn't a "fix", you are just using an entirely different system... From my side we didn't start experiencing this error until we started adding the |
Should help resolve issue: michaelleeallen#178
Hi there. Still having this issue with |
Same here. The issue comes and goes. Any workarounds?
|
@clayreimann Hi ✋ How can we help to get this bug fixed? Do you have any guess why this is happening randomly? I can create a pull request. |
reproducible also when running tests with |
I am also experiencing this problem a lot since we run parallel processes. |
I had the same problem and could not figure out why it was failing - there where no other error messages. Maybe this helps others to debug further. |
I'm getting the same issue. Completely blocked until this is resolved. my mocha config: Getting this error: C:\Users\jsmith\git\myProject\node_modules\mocha-junit-reporter\index.js:217 I noticed that when running mocha in debug: mocha:runner reporterOptions: { No matter what I change the name of the file to in my config (mochaFile: './test-results/chris-is-silly.xml') the debugger always shows the mochaFile as 'test-results.xml'. No idea if that's related or helpful. |
This helped, thanks. |
I am running
mocha-junit-reporter
using Cypress. However, sporadically (6 out of 100 times) it fails with this stack-trace:While running this command:
yarn exec cypress run --component --reporter=junit --reporter-options="mochaFile=/tmp/test-reports/test-output-components.xml,toConsole=true"
The text was updated successfully, but these errors were encountered: