From 077d3182d6bec7cc70baf4594e978dce804b74f3 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 16 Jan 2025 12:57:24 -0800 Subject: [PATCH] cockpit: use down instead of up to find the Updates page Seems like this might work better? Up is still failing a lot. Tested on lab and it looked good. Signed-off-by: Adam Williamson --- lib/cockpit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cockpit.pm b/lib/cockpit.pm index 6fa3d997..ece0db57 100644 --- a/lib/cockpit.pm +++ b/lib/cockpit.pm @@ -51,7 +51,7 @@ sub select_cockpit_update { assert_screen ["cockpit_software_updates", "cockpit_search"], 120; click_lastmatch; if (match_has_tag "cockpit_search") { - send_key_until_needlematch("cockpit_software_updates", "up", 3, 3); + send_key_until_needlematch("cockpit_software_updates", "down", 10, 2); click_lastmatch; } # wait for the updates to download