-
Notifications
You must be signed in to change notification settings - Fork 25
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
sfcli apex test run command is throwing an error "Error (10): Cannot read properties of undefined (reading 'Status')" #346
Comments
Hello @RohitGagan16 👋 It looks like you didn't include the full Salesforce CLI version information in your issue. A few more things to check:
Thank you! |
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
That's coming from the Apex library. I'm going to transfer the issue to them. Thanks for reporting. |
|
Hi @mshanemc @RohitGagan16 I have created the pull request #351 to resolve this issue. The error occurs very often hence the pull request. It doesn't solve the actual problem on the org, but it handles the module error. |
Hi @Rocko1204 Thanks for creating the PR, we will review it and get back to you soon. |
Summary
sfcli apex test run command is throwing an error "
Error (10): Cannot read properties of undefined (reading 'Status')"
Steps To Reproduce
sf apex run test -o -l RunLocalTests -d {dir} -w 240 -r human -c
Expected result
This should give the test result report along with the coverage for each class
Actual result
It is throwing an error
"Error (10): Cannot read properties of undefined (reading 'Status')""
System Information
Jenkins linux agent
Salesforce cli version:
@salesforce/cli/2.26.10 linux-x64 node-v18.17.1
The text was updated successfully, but these errors were encountered: