TestItem tags array is empty when passed to command triggered by additional menu item #145777
Labels
bug
Issue identified by VS Code Team member as probable bug
insiders-released
Patch has been released in VS Code Insiders
testing
Built-in testing support
verified
Verification succeeded
Milestone
Does this issue occur when all extensions are disabled?: Yes
Version: 1.65.2 (user setup)
Commit: c722ca6
Date: 2022-03-10T14:33:55.248Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19043
Steps to Reproduce:
I have an extension that is creating a TestController object and creating a few TestItems. I'm adding TestTags to each items' tags array in order to categorize them. I have an additional contributed menu item (inline) that triggers a command for the selected TestItem. I'd expect that the selected test item gets passed to the command with its TestTags, but it shows as empty (see below).
I've uploaded a simple extension that demonstrates the problem here: https://github.com/KaravolisL/simple-test-extension
Please let me know if any more information is needed. Thanks!
The text was updated successfully, but these errors were encountered: