mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
improve the stability of TypeaheadRequestFocusTest
it failed sometimes under MATE desktop environment on Linux
(cherry picked from commit 37901295e1)
This commit is contained in:
@@ -45,6 +45,7 @@ public class TypeaheadRequestFocusTest {
|
||||
initFinished.get(10, TimeUnit.SECONDS);
|
||||
clickOn(frameField);
|
||||
SwingUtilities.invokeAndWait(TypeaheadRequestFocusTest::showPopup);
|
||||
robot.delay(1000);
|
||||
pressAndRelease(KeyEvent.VK_ENTER);
|
||||
pressAndRelease(KeyEvent.VK_A);
|
||||
typedInPopup.get(10, TimeUnit.SECONDS);
|
||||
|
||||
Reference in New Issue
Block a user