On Mon, 28 Sep 2020 22:22:55 GMT, Alexandre Iline <shurail...@openjdk.org> wrote:
> Added a few synchronization points to the test: > 1 wait for the screen to change where the test window is displayed > 2 wait for the image to get still (i.e. painted complete) > 3 wait for the image to change after the mouse move > 4 wait for the image change and then to get still after the mouse > press > 5 wait for the image to change after the mouse release > > @mrserb Can you take a look? test/jdk/sanity/client/SwingSet/src/ButtonDemoTest.java line 38: > 36: import org.testng.annotations.Test; > 37: import org.jemmy2ext.JemmyExt.ByToolTipChooser; > 38: import static org.jemmy2ext.JemmyExt.*; Looks like the change in this file is unnecessary? Note, we do not use '*' in the imports(same note in the EditorPaneDemoTest.java ) ------------- PR: https://git.openjdk.java.net/jdk/pull/389