From 72aa4c97ade72b802a008bdba4bf59cca04df665 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Fri, 30 Oct 2026 18:21:20 -0700 Subject: [PATCH] test(border): leave the paint tests to a real desktop They create a window and a Direct2D border and check that it is painted, which needs a desktop to paint on. Run them with --ignored. --- komorebi/src/border_manager/border.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/komorebi/src/border_manager/border.rs b/komorebi/src/border_manager/border.rs index 193ef9eb..98307ab6 100644 --- a/komorebi/src/border_manager/border.rs +++ b/komorebi/src/border_manager/border.rs @@ -860,11 +860,13 @@ mod tests { } #[test] + #[ignore = "needs a real desktop to paint on"] fn a_new_border_is_painted_when_windows_are_handled_synchronously() { assert!(is_painted(crate::WindowHandlingBehaviour::Sync)); } #[test] + #[ignore = "needs a real desktop to paint on"] fn a_new_border_is_painted_when_windows_are_handled_asynchronously() { assert!(is_painted(crate::WindowHandlingBehaviour::Async)); }