On Thu, 17 Nov 2022 11:27:07 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> Tested it locally on Win10. Works as expected. I agree with @prrace, adding >> additional delay would make sure that all events are processed. > > Without explicit `Robot.waitForIdle()` calls, the test looks as if > something's missing. Adding it explicitly before checking a condition gives > more confidence, the test has waited for the events to be processed. Called Robot.waitForIdle() explicitly to make sure that all events are processed before checking a condition. ------------- PR: https://git.openjdk.org/jdk/pull/11052