Wait after checking for updates for UI tests (#2798)

This commit is contained in:
Zorg committed 2025-11-14 20:38:26 -08:00
1 parent 0173a351f4
commit 64927aac59
1 file changed
+3
+3
View File
@@ -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