JBR-5441 fix wait for idle

(cherry picked from commit 8b5945f834)
This commit is contained in:
Sergey Shelomentsev
2023-03-30 15:04:28 +03:00
committed by jbrbot
parent 89727293da
commit 2dac4b8a38

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;