On Mon, 6 Nov 2023 13:20:32 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

> > > Is it possible to add an automated regression test?
> > 
> > 
> > I'm working on that, but it is not trivial as this functionality requires 
> > the QuantumToolkit and can not use the StubToolkit which is used in most 
> > tests.
> 
> You could add a headful system test (those all use the QuantumToolkit). You 
> may or may not want it to be a robot-based test, depending on what else you 
> want the test to do (e.g., a robot-based test could click outside the window, 
> which deactivates the window and calls the release methods).

I added a test to the existing SystemMenuBarTest in the system tests that fails 
before and succeeds after the patch. Note that the app needs focus for this 
test.

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

PR Comment: https://git.openjdk.org/jfx/pull/1277#issuecomment-1796114161

Reply via email to