Files
vscode/test
Sandeep Somavarapu d67d6aadf2 sessions: show provider names as section headers in session type picker (#321597)
* sessions: show provider names as section headers in session type picker

The session type picker (harness picker) showed provider names like
"Copilot Chat" and "Local Agent Host" as inline descriptors to the right
of the first row in each group, which read like a label on that row and
made it look like there were duplicate/broken entries.

Render the provider name as a proper section header above each group,
with a divider between sections, when more than one provider contributes
session types. Session types are grouped by their provider's display
label (preserving first-seen order) so each header is shown once even
when providers are interleaved or share a label. The same grouping is
applied to the mobile bottom-sheet variant.

Also rename the local provider label from "Local Chat" to "Copilot Chat".

Fixes #321535

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: give session type picker a minimum width

Set a minimum width on the session type picker dropdown so it does not
collapse to a narrow popup when labels are short.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: set session type picker minimum width to 200

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: fix AgentHost smoke test selection and picker a11y for section headers

The session type picker now renders provider names as non-clickable
header rows. The smoke automation's selectSessionType matched the
provider label ("Local Agent Host") on an action row's inline group
title and clicked it; with headers that text is on a header row, so the
click did nothing and AgentHost sessions never started (CI timeouts).

- Update selectSessionType to select the first actionable row beneath a
  matching section header, while still matching session type labels
  directly on action rows.
- Include the provider label in the action item ARIA label when section
  headers are shown, so same-named types (e.g. "Claude") are
  disambiguated for screen readers since header rows are skipped by list
  navigation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-16 08:35:46 -07:00
..
2026-06-11 19:38:19 +00:00

VS Code Tests

Contents

This folder contains the various test runners for VS Code. Please refer to the documentation within for how to run them:

  • unit: our suite of unit tests (README)
  • integration: our suite of API tests (README)
  • smoke: our suite of automated UI tests (README)
  • sanity: release sanity tests (README)