On Mon, 22 Sep 2025 11:37:50 GMT, Tejesh R <[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.

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

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

Reply via email to