Testing panel skipping tests silently with "[[object Object]] Cannot read property 'toString' of undefined" #17386
Labels
area-testing
bug
Issue identified by VS Code Team member as probable bug
verified
Verification succeeded
Milestone
Environment data
Version: 1.60.0
Commit: e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff
Date: 2021-09-01T10:43:02.136Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
python.languageServer
setting: "Pylance"[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (
python.languageServer: 'Microsoft'
), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]Expected behaviour
Running Django unit tests via the Testing panel in the sidebar, expect output to have same results as
python manage.py test
.Actual behaviour
Clicking on button in VSCode to run the same tests only runs 4 tests. Other tests are skipped silently. Previously, this would run to completion for all tests.
Seems to produce a JS error in VSCode with Developer Tools showing:
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
(Will try to find time to create a reproducible sample, but any advice before then would be super appreciated ) 😊
2021-09-12.10-27-15.1.mp4
Logs
Python Output
Output for Python, dev tools, and test output
Testing Sidebar Panel
Python Output
Command Palette > Test:Show Output
Developer Tools Output
Developer tools output (pretty large, ~900 lines)
Screenshot
The text was updated successfully, but these errors were encountered: