You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note
Before you submit your issue, make sure that:
You're using the latest version of Salesforce CLI.
You've searched both open and closed issues for related posts.
You've used the doctor command to diagnose common issues.
You understand that GitHub Issues don't adhere to any agreement or SLA.
If you require immediate assistance, use official channels such as Salesforce Customer Support.
Summary
When attempting to run sf force apex test report -i <TEST_ID> the following error occurs:
Error (1): location is not defined
Steps To Reproduce
IMPORTANT
Provide a repository that's configured to reproduce the issue. If you are unable to provide a repo, please explain why not. The more info we have from the start, the faster we can resolve your issue.
We may close your issue if you don't include proper instructions.
Generate a project with sf project generate or fork dreamhouse-lwc.
Provide detailed step-by-step instructions on how to reproduce the issue.
{
"code": 1,
"context": "Test",
"commandName": "Test",
"message": "location is not defined",
"name": "ReferenceError",
"status": 1,
"stack": "ReferenceError: location is not defined\n at Object.parse (/usr/local/lib/sf/node_modules/faye/src/util/uri.js:36:36)\n at klass.initialize (/usr/local/lib/sf/node_modules/faye/src/protocol/dispatcher.js:21:28)\n at new klass (/usr/local/lib/sf/node_modules/faye/src/util/class.js:13:28)\n at Dispatcher.create (/usr/local/lib/sf/node_modules/faye/src/protocol/dispatcher.js:180:10)\n at klass.initialize (/usr/local/lib/sf/node_modules/faye/src/protocol/client.js:43:35)\n at new klass (/usr/local/lib/sf/node_modules/faye/src/util/class.js:13:28)\n at new StreamingClient (/usr/local/lib/sf/node_modules/@salesforce/apex-node/lib/src/streaming/streamingClient.js:39:23)\n at AsyncTests.<anonymous> (/usr/local/lib/sf/node_modules/@salesforce/apex-node/lib/src/tests/asyncTests.js:77:33)\n at Generator.next (<anonymous>)\n at /usr/local/lib/sf/node_modules/@salesforce/apex-node/lib/src/tests/asyncTests.js:14:71",
"exitCode": 1,
"warnings": []
}
I have tried reinstalling sfdx and rebooting my machine with no effect.
The text was updated successfully, but these errors were encountered:
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.
Summary
When attempting to run
sf force apex test report -i <TEST_ID>
the following error occurs:Error (1): location is not defined
Steps To Reproduce
Expected result
The test job information is retrieved
Actual result
This error is displayed.
System Information
Using zsh on mac
Additional information
Full error message:
I have tried reinstalling sfdx and rebooting my machine with no effect.
The text was updated successfully, but these errors were encountered: