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