8233638: [TESTBUG] Swing test ScreenMenuBarInputTwice.java fails on macos

Reviewed-by: serb
This commit is contained in:
Prasanta Sadhukhan 2020-05-04 09:08:17 +05:30
parent 4071546506
commit 823d1d222f
2 changed files with 10 additions and 1 deletions

View File

@ -873,7 +873,6 @@ javax/swing/JPopupMenu/6544309/bug6544309.java 8233556 macosx-all
javax/swing/JPopupMenu/4634626/bug4634626.java 8233556 macosx-all
javax/swing/JPopupMenu/4458079/bug4458079.java 8233556 macosx-all
javax/swing/JMenuItem/ActionListenerCalledTwice/ActionListenerCalledTwiceTest.java 8233637 macosx-all
javax/swing/JMenuItem/8139169/ScreenMenuBarInputTwice.java 8233638 macosx-all
javax/swing/JMenuItem/6249972/bug6249972.java 8233640 macosx-all
javax/swing/JMenuItem/4171437/bug4171437.java 8233641 macosx-all
javax/swing/JMenuBar/4750590/bug4750590.java 8233642 macosx-all

View File

@ -71,10 +71,20 @@ public class ScreenMenuBarInputTwice {
robot.setAutoDelay(200);
robot.setAutoWaitForIdle(true);
createUIWithSeperateMenuBar();
robot.waitForIdle();
robot.delay(500);
shortcutTestCase();
robot.waitForIdle();
robot.delay(250);
cleanUp();
robot.waitForIdle();
robot.delay(250);
createUIWithIntegratedMenuBar();
robot.waitForIdle();
robot.delay(500);
menuTestCase();
robot.waitForIdle();
robot.delay(250);
cleanUp();
}