On Mon, 13 Apr 2026 14:21:30 GMT, Dmitry Markov <[email protected]> wrote:

> The root cause of the test failure is that the robot does not successfully 
> click on the "About" menu item. The test relies on hardcoded cursor 
> coordinates and the Y coordinate value (80) is insufficient on some macOS 
> systems with higher resolutions.
> 
> Replace the mouse click on the "About" menu item with keyboard interactions. 
> This removes the dependency on hardcoded cursor positions and makes the test 
> more robust across systems with different resolutions and font sizes.
> 
> ---------
> - [X] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

It looks like there is no reliable way to calculate the Y position of the About 
menu item. I would therefore suggest keeping the proposed change since it 
improves the stability of the test even though it does not cover one of the 
original scenarios the test was meant to verify. We could cover the Spotlight 
case in the macOS system menu with a separate manual test instead. 
@jperedadnr What do you think?

-------------

PR Comment: https://git.openjdk.org/jfx/pull/2147#issuecomment-4246115903

Reply via email to