Skip to content

test(native): cover tray integration through the virtual platform - #142

Open
espetro wants to merge 2 commits into
remorses:mainfrom
espetro:gpuix-tray-integration-tests
Open

espetro wants to merge 2 commits into
remorses:mainfrom
espetro:gpuix-tray-integration-tests

Conversation

@espetro

@espetro espetro commented Nov 26, 2026

Copy link
Copy Markdown

Follow-up to #141 (tray API and explicit quit mode), addressing reviewer/promotion feedback that the tray implementation lacked automated tests.

Adds integration tests in packages/native/src/tray.rs exercising the tray API through the virtual platform backend: menu construction, tooltip/title updates, click event dispatch, and explicit quit mode round trip. Also bumps the zed subtree pointer to the upstream gpui virtual tray test backend (remorses/zed#18) it depends on.

  • macOS/Windows/Linux real backends unchanged
  • All assertions run headless via the virtual platform, so CI can exercise tray behavior without spawning status items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant