On Fri, 29 Jul 2022 21:37:24 GMT, Andy Goryachev <[email protected]> wrote:

>> - moving mouse pointer to stage lower right corner in order to avoid 
>> interference with the Robot screen capture.
>
> Andy Goryachev has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   8289605: 2022

I expect that the fix will work, so I'll test it. I left a comment inline with 
a suggestion that should make it less likely for other tests to have the same 
problem in the future.

tests/system/src/test/java/test/robot/javafx/scene/layout/RegionBackgroundImageUITest.java
 line 47:

> 45: 
> 46:     @Before
> 47:     public void before() {

You might consider moving this method to the `VisualBase` superclass, since it 
would be possible for any other robot-based screen capture test to fail in the 
future. If you do that, you wouldn't have a stage that you could access, so you 
would need to do something like move the mouse to the lower right of the screen 
rather than the window.

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

PR: https://git.openjdk.org/jfx/pull/854

Reply via email to