On Mon, 22 Sep 2025 18:00:52 GMT, Alexey Ivanov <[email protected]> wrote:

> > > > It would be logical to add `waitForIdle` _after all the dragging is 
> > > > finished_, after line 187. That is right before 
> > > > `robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK)` and 
> > > > `robot.keyRelease(KeyEvent.VK_CONTROL)` are called.
> > > 
> > > 
> > > @TejeshR13 What about this question?
> > 
> > 
> > Yes, but without this the test passes multiple iterations. Should we still 
> > add `waitForIdle` ?
> 
> I suggest adding `waitForIdle` and `delay` only here instead of where you 
> added them.

Adding `waitForIdle` and `delay` only at line 187 isn't working which is why I 
added at line 176.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27283#issuecomment-3322331631

Reply via email to