JDK-8317111 : Provide access to Pass/Fail buttons of PassFailJFrame
  • Type: Enhancement
  • Component: client-libs
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2023-09-27
  • Updated: 2024-02-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
There are scenarios where disabling and enabling of the Pass and Fail buttons could provide additional visual feedback.

For example, the test could determine whether the tester has performed the required actions, only after this the buttons are enabled; the buttons are disabled when the UI starts.

A scenario from JDK-8316211 code review:
https://github.com/openjdk/jdk/pull/15827#discussion_r1336145672

This test should disable Pass and Fail buttons. The Fail button should remain disabled: the test will fail automatically. Yet the Pass button may always be enabled, or it could be enabled only after the tester cycles through all the scenarios.
Comments
The test/jdk/java/awt/TrayIcon/DisposeInActionEventTest/DisposeInActionEventTest.java test may also use this feature. According to the test scenario, the tester never needs to click the Fail button because the failure is handled automatically. https://github.com/openjdk/jdk/pull/17838#discussion_r1506066597
28-02-2024