Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh tests button is shown twice #19012

Closed
hediet opened this issue Apr 26, 2022 · 3 comments · Fixed by #19035
Closed

Refresh tests button is shown twice #19012

hediet opened this issue Apr 26, 2022 · 3 comments · Fixed by #19035
Assignees
Labels
area-testing bug Issue identified by VS Code Team member as probable bug

Comments

@hediet
Copy link
Member

hediet commented Apr 26, 2022

image

One is from the python extension.

vscode-mocha-test-adapter hbe 2.13.3
vscode-test-explorer hbe 2.21.1
python ms- 2022.5.11111003
vscode-pylance ms- 2022.4.2
jupyter ms- 2022.4.1001171005
jupyter-keymap ms- 1.0.0
jupyter-renderers ms- 1.0.6
test-adapter-converter ms- 0.1.6

@connor4312
Copy link
Member

@karthiknadig Python should adopt the native refreshHandler which will fix this.

@karthiknadig karthiknadig removed their assignment Apr 26, 2022
@karthiknadig karthiknadig transferred this issue from microsoft/vscode Apr 26, 2022
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Apr 26, 2022
@karthiknadig
Copy link
Member

@kimadeline Looks like it is time to switch to the new refreshHandler .

@karthiknadig karthiknadig added bug Issue identified by VS Code Team member as probable bug area-testing triage and removed triage-needed Needs assignment to the proper sub-team labels Apr 26, 2022
@anentropic
Copy link

anentropic commented Apr 27, 2022

I have same problem

I have several language extensions installed. Currently I have a Scala (Metals) project. I have one refresh button in the toolbar at the top of the Testing panel, but when I click it I get the command 'python.refreshTests' not found... this is confusing since it's not a Python project.

It appears similar issue has been reported in a few other places:

But it seems like the underlying problem is maybe that the Python extension is showing its button even when not appropriate?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants