RFR: 8296632: Write a test to verify the content change of TextArea sends TextEvent [v4]

ravi gupta duke at openjdk.org
Thu Nov 17 17:24:37 UTC 2022


On Thu, 17 Nov 2022 11:27:07 GMT, Alexey Ivanov <aivanov at 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



More information about the client-libs-dev mailing list