From 6041f4bf99a616a5ed0e7066ea2bd77d786e24cf Mon Sep 17 00:00:00 2001
From: Adrian Stoica <stoica@ntnu.no>
Date: Wed, 2 Nov 2022 18:53:03 +0100
Subject: [PATCH] fix: fixes drag drop test freezing on windows

It  seems tha testfx framework has an issue running drag drop test on windows
using the "glass" UI robot
but the altwernative "awt" robot is working
to fix that we add the -Dtestfx.robot=awt in maven-surefire-plugin argument line
---
 todolist/fxui/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/todolist/fxui/pom.xml b/todolist/fxui/pom.xml
index 73ce8cc..7db517b 100644
--- a/todolist/fxui/pom.xml
+++ b/todolist/fxui/pom.xml
@@ -197,7 +197,7 @@
                         <headless>${headlessTests}</headless>
                     </systemPropertyVariables>
                     <argLine>
-                    @{jaCoCoArgLine}
+                    @{jaCoCoArgLine} -Dtestfx.robot=awt
                     --add-opens todolist.ui/todolist.ui=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.application=ALL-UNNAMED
                     --add-opens javafx.graphics/com.sun.glass.ui=ALL-UNNAMED --add-exports javafx.graphics/com.sun.glass.ui=ALL-UNNAMED
                     --add-exports javafx.graphics/com.sun.glass.ui.delegate=ALL-UNNAMED
-- 
GitLab