Skip to content

Fail symbol for passed test case in VS Code sidebar #16715

Closed

Description

Environment data

  • VS Code version: 1.58.2
  • Extension version (available under the Extensions sidebar): v2021.6.944021595
  • OS and version: Windows 10 Enterprise
  • Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.9 64-bit
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: N/A
  • Relevant/affected Python-related VS Code extensions and their versions: N/A
  • Value of the python.languageServer setting: Pylance language server 2021.7.4 (pyright 209f9621) starting (From: Python Language server output)

[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

Failed symbol (in sidebar) against a failed test should be changed to passed symbol once the test gets passd.

Actual behaviour

The failed symbol (in sidebar) against a failed test does not change to passed symbol even when the test starts getting passed.
The issue is not reproducible when VS code is restarted and the test runs for first time.

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. XXX

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Activity

  1. added
    triage-neededNeeds assignment to the proper sub-team
    bugIssue identified by VS Code Team member as probable bug
    on Jul 18, 2021
  2. karthiknadig commented on Jul 20, 2021

    @karthiknadig
    Member

    Kshitij Mathur (@mathurk29) Can you provide repro steps for this?

  3. karthiknadig commented on Aug 6, 2021

    @karthiknadig
    Member

    This should be better with the new Test UI available in the insiders version of the extension. See #16769

  4. locked as resolved and limited conversation to collaborators on Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-testingbugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions