user: Only perform the screen resolution changing tests in interactive mode.
diff --git a/dlls/user/tests/monitor.c b/dlls/user/tests/monitor.c
index 787ac2e..153a353 100644
--- a/dlls/user/tests/monitor.c
+++ b/dlls/user/tests/monitor.c
@@ -168,6 +168,7 @@
 {
     init_function_pointers();
     test_enumdisplaydevices();
-    test_ChangeDisplaySettingsEx();
+    if (winetest_interactive)
+        test_ChangeDisplaySettingsEx();
     test_monitors();
 }