mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-5441 fix wait for idle
This commit is contained in:
@@ -155,8 +155,8 @@ public class HitTestNonClientArea {
|
||||
robot.delay(300);
|
||||
robot.mouseMove(initialX, initialY);
|
||||
}
|
||||
robot.waitForIdle();
|
||||
robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
|
||||
robot.waitForIdle();
|
||||
Point newLocation = window.getLocationOnScreen();
|
||||
|
||||
passed = initialLocation.x < newLocation.x && initialLocation.y < newLocation.y;
|
||||
|
||||
Reference in New Issue
Block a user