PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

There is no info bar appear to suggest install pytest when Test Explorer is open

Open linette-zyy opened this issue 1 year ago • 1 comments

Environment image

Steps to Reproduce 1.Open a folder and add a python file 2.Test->Test Explorer 3.Select a python environment and not install pytest 4.Enable "Show All files" in "Solution Explorer" to open PythonSettings.json file under "Local settings" folder 5.Add a property "TestFramework":"pytest" in "PythonSettings.json" image 6.Restart VS and reopen the folder 7.Open the python file 8.Make sure an info bar should appear to suggest install pytest image

Expected behavior An info bar should appear image

Actual behavior No info bar appear image infobar_incorrect

Additional context and screenshots The info bar appears normally when TE is closed infobar_correct

linette-zyy avatar Nov 02 '23 08:11 linette-zyy

Seems like OnBeforeDocumentWindowShow in WorkspaceInfoBarManager.cs not being invoked correctly by upstream.

StellaHuang95 avatar Nov 02 '23 17:11 StellaHuang95