Skip to content

Go to Test action is available in Test Results when it can't do anything #260443

@smcenlly

Description

@smcenlly

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.103.0-insider (Universal)
Commit: 05ca6dd
Date: 2025-08-05T15:44:58.613Z
Electron: 37.2.3
ElectronBuildId: 12035395
Chromium: 138.0.7204.100
Node.js: 22.17.0
V8: 13.8.500258-electron.0
OS: Darwin arm64 24.6.0

Steps to Reproduce:

  1. As part of reporting test results via the VS Code API, create a test item (e.g. createTestItem) with no uri (optional constructor parameter)
  2. In the VS Code Test Results, the Test Item has a context menu action, and an icon for the row to Go to Test; these actions are always available, regardless of whether the action is applicable (based on the feature working).
Image

In contrast, the same action is hidden for the Test Explorer (for the test item) when it does nothing.

Metadata

Metadata

Assignees

Labels

insiders-releasedPatch has been released in VS Code Insiders

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions