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? This pull request has now been integrated. Changeset: ffc97ba5 Author: Alexandre Iline <shurail...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/ffc97ba5 Stats: 139 lines in 4 files changed: 95 ins; 18 del; 26 mod 8253543: sanity/client/SwingSet/src/ButtonDemoScreenshotTest.java failed with "AssertionError: All pixels are not black" Reviewed-by: serb ------------- PR: https://git.openjdk.java.net/jdk/pull/389