Integrated: 8306424: [testbug] DatePickerUpdateOnAlertCloseTest fails on MacOS

Karthik P K kpk at openjdk.org
Tue Apr 25 15:31:13 UTC 2023


On Thu, 20 Apr 2023 13:28:23 GMT, Karthik P K <kpk at openjdk.org> wrote:

> Test was failing because `CountDownLatch` was not used to make sure that new date is selected and the delay present was not sufficient.
> If the current date is on the left edge of the date picker, this test would fail because of the way new date was selected using mouse click.
> 
> Added `CountDownLatch` to make sure that alert dialog is closed before asserting the date. Updated the test to select new date using robot `keyType` method instead of mouse click so that the test becomes robust.
> 
> Ran the test individually and along with all system tests on Mac. No failure found.

This pull request has now been integrated.

Changeset: e40000b3
Author:    Karthik P K <kpk at openjdk.org>
Committer: Andy Goryachev <angorya at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/e40000b377a14c9def8927b3a60d35617f11a614
Stats:     56 lines in 1 file changed: 48 ins; 2 del; 6 mod

8306424: [testbug] DatePickerUpdateOnAlertCloseTest fails on MacOS

Reviewed-by: angorya, kcr

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

PR: https://git.openjdk.org/jfx/pull/1104


More information about the openjfx-dev mailing list