After Updating the SF extension pack to v60.12.0+ you will get an error when using the TestCaseGeneration feature of Einstein for Developer to Create a new Apex unit test file.
Steps To Reproduce:
Update the SF Extension Pack to v60.12.0
For an Apex Class that does not have an associated Unit test right click a method and select 'Einstein: Generate a Test'
Select 'Create a new file'
See errors
Expected result
Should create the unit test file and populate with a unit test.
Actual result
See screenshot above.
Additional information
Salesforce Extension Version in VS Code:v60.12.0
Salesforce Einstein For Developers Version in VS Code: v0.46.0 (but doesn't matter)
We have identified the issue and will have a patch out with the release this week. As a short term work around you can downgrade the Salesforce CLI extension to v60.11.0
Summary
After Updating the SF extension pack to v60.12.0+ you will get an error when using the TestCaseGeneration feature of Einstein for Developer to Create a new Apex unit test file.
Steps To Reproduce:
Expected result
Should create the unit test file and populate with a unit test.
Actual result
See screenshot above.
Additional information
Salesforce Extension Version in VS Code:v60.12.0
Salesforce Einstein For Developers Version in VS Code: v0.46.0 (but doesn't matter)
OS and version: MacOS 14.4.1
VS Code version: 1.89.0-insider