From 9555cb7397c1ec4154c8f82dfb425ed4e63fb51e Mon Sep 17 00:00:00 2001 From: Zorg Date: Mon, 22 Mar 2021 23:05:02 -0700 Subject: [PATCH] Fix UI tests from not making update alert hide on deactivation --- UITests/SUTestApplicationTest.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)