Clicking on a test in the Test Explorer does not navigate to the correct test #8448
Labels
area-testing
bug
Issue identified by VS Code Team member as probable bug
regression
Bug didn't exist in a previous release
verified
Verification succeeded
Milestone
Environment data
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version #3977): N/AExpected behaviour
Clicking on a test in the test explorer should navigate to the correct test in the correct test file.
Actual behaviour
Clicking on a test in the test explorer navigates to the correct test file but the cursor ends up in a random place in the file.
Steps to reproduce:
with
test_file.py
containingand
hello.py
containingprint("hello world")
.hello.py
test_file_one
and thentest_file_two
def test_file_one
line, but it also doesn't move when clicking on a different test.Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)👉 The information returned by
> ~/Documents/Sandbox/hello-world/.venv/bin/python3 ~/.vscode/extensions/ms-python.python-2019.10.44104/pythonFiles/symbolProvider.py ~/Documents/Sandbox/hello-world/tests/test_file.py
is correct:The text was updated successfully, but these errors were encountered: