diff --git a/peekaboo-cli/Tests/peekabooTests/WindowManagerTests.swift b/peekaboo-cli/Tests/peekabooTests/WindowManagerTests.swift index 7d7a820..9ffc957 100644 --- a/peekaboo-cli/Tests/peekabooTests/WindowManagerTests.swift +++ b/peekaboo-cli/Tests/peekabooTests/WindowManagerTests.swift @@ -210,8 +210,8 @@ struct WindowManagerAdvancedTests { let apps = NSWorkspace.shared.runningApplications guard let app = apps.first(where: { $0.bundleIdentifier == bundleId }) else { - // Use Swift Testing's conditional execution instead of return - throw XCTSkip("App with bundle ID \(bundleId) is not running") + // Skip test if app not running - this is acceptable for system apps + return } let windows = try WindowManager.getWindowsForApp(pid: app.processIdentifier)