diff --git a/UITests/SUTestApplicationTest.swift b/UITests/SUTestApplicationTest.swift index 0d0fab30..8432903b 100644 --- a/UITests/SUTestApplicationTest.swift +++ b/UITests/SUTestApplicationTest.swift @@ -47,7 +47,7 @@ class SUTestApplicationTest: XCTestCase menuBarsQuery.menuBarItems["Sparkle Test App"].click() } - app.dialogs["SUUpdateAlert"].buttons["Install Update"].click() + app.windows["SUUpdateAlert"].buttons["Install Update"].click() // Give some time for the update to finish downloading / extracting sleep(30)