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). ------------- Commit messages: - Cleanup - 8381443: SystemMenuBarHelpMenuTest fails on macOS Changes: https://git.openjdk.org/jfx/pull/2147/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2147&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8381443 Stats: 9 lines in 1 file changed: 0 ins; 7 del; 2 mod Patch: https://git.openjdk.org/jfx/pull/2147.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2147/head:pull/2147 PR: https://git.openjdk.org/jfx/pull/2147
