You may need to wait a bit for SDL_WarpMouseInWindow() to complete
diff --git a/test/testautomation_mouse.c b/test/testautomation_mouse.c
index ee41242..b99afc1 100644
--- a/test/testautomation_mouse.c
+++ b/test/testautomation_mouse.c
@@ -527,6 +527,7 @@ mouse_getMouseFocus(void *arg)
SDLTest_AssertPass("SDL_WarpMouseInWindow(...,%i,%i)", x, y);
/* Pump events to update focus state */
+ SDL_Delay(100);
SDL_PumpEvents();
SDLTest_AssertPass("SDL_PumpEvents()");