8191616: [TEST_BUG] : sanity/client/SwingSet/src/SliderDemoTest.java: Failed with TimeoutExpiredException: Wait "Wait till Slider attains the specified state."
authorshurailine
Mon, 20 Nov 2017 15:05:10 -0800
changeset 47965 3ec2f3f942b4
parent 47964 fd09f2896e69
child 47966 a5fe5534b8a2
8191616: [TEST_BUG] : sanity/client/SwingSet/src/SliderDemoTest.java: Failed with TimeoutExpiredException: Wait "Wait till Slider attains the specified state." Reviewed-by: serb
test/jdk/sanity/client/SwingSet/src/SliderDemoTest.java
--- a/test/jdk/sanity/client/SwingSet/src/SliderDemoTest.java	Mon Nov 20 14:49:23 2017 -0800
+++ b/test/jdk/sanity/client/SwingSet/src/SliderDemoTest.java	Mon Nov 20 15:05:10 2017 -0800
@@ -82,6 +82,7 @@
         JSliderOperator jso = new JSliderOperator(jfo,
                 new AccessibleNameChooser(accessibleName));
         if (accessibleName.equals(HORIZONTAL_PLAIN_SLIDER)) {
+            jso.waitHasFocus();
             checkKeyboard(jso);
             checkMouse(jso);
         }