Skip to content

Conversation

@johnnesky
Copy link
Contributor

@johnnesky johnnesky commented May 31, 2025

Implements the unit tests described in https://docs.google.com/document/d/1pIIX5sKEG9f_NcWDIQJJEOMM7w7pQUf8eJoT3lrAElQ for context menu items in various situations.

The set of expected available context menu items depends on the focused object, whether it's in a flyout, and how the menu was opened. The tests are currently configured to expect the set of menu items that the currently implemented behavior produces.

@johnnesky johnnesky requested a review from a team as a code owner May 31, 2025 06:06
@johnnesky johnnesky requested review from cpcallen and removed request for a team May 31, 2025 06:06
@johnnesky johnnesky force-pushed the nesky_menu_tests branch 4 times, most recently from f29c7db to 4832ab3 Compare July 11, 2025 20:14
@RoboErikG RoboErikG self-requested a review July 28, 2025 18:17
@RoboErikG RoboErikG self-assigned this Jul 28, 2025
Copy link
Contributor

@RoboErikG RoboErikG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests look good. One suggestion about making it easier to update the expected menu items.

@johnnesky johnnesky merged commit e438ba7 into RaspberryPiFoundation:main Aug 25, 2025
8 checks passed
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.

3 participants