JBR-5441 fix wait for idle

This commit is contained in:
Sergey Shelomentsev
2023-03-30 15:04:28 +03:00
parent 26d93b189e
commit 1c42fadb25

View File

@@ -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;