From 64927aac5969a4941cd02eb9d45fb29a6954eb8e Mon Sep 17 00:00:00 2001 From: Zorg Date: Thu, 13 Nov 2025 21:01:49 -0800 Subject: [PATCH] Wait after checking for updates for UI tests (#2798) --- UITests/SUTestApplicationTest.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UITests/SUTestApplicationTest.swift b/UITests/SUTestApplicationTest.swift index 48747c1d..ba6597d2 100644 --- a/UITests/SUTestApplicationTest.swift +++ b/UITests/SUTestApplicationTest.swift @@ -52,6 +52,9 @@ class SUTestApplicationTest: XCTestCase let checkForUpdatesMenuItem = menuBarsQuery.menuItems["Check for Updates…"] if checkForUpdatesMenuItem.isEnabled { checkForUpdatesMenuItem.click() + + // Give some time to wait for window to show up + sleep(5) } else { // We haven't checked for updates in a while so an automatic check was already done // in this case click the main menu again to deactivate it