PTVS
PTVS copied to clipboard
There is no info bar appear to suggest install pytest when Test Explorer is open
Environment
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"
6.Restart VS and reopen the folder
7.Open the python file
8.Make sure an info bar should appear to suggest install pytest
Expected behavior
An info bar should appear
Actual behavior
No info bar appear
Additional context and screenshots
The info bar appears normally when TE is closed
Seems like OnBeforeDocumentWindowShow
in WorkspaceInfoBarManager.cs
not being invoked correctly by upstream.