Cockpit updates: wait a bit after hitting up key

Otherwise we race between the needle match and the screen scroll
update, and can click the wrong thing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-05-04 17:02:05 -07:00
parent 05af76265f
commit 3db92ef976
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ sub select_cockpit_update {
click_lastmatch;
if (match_has_tag "cockpit_search") {
send_key "up";
wait_still_screen 2;
assert_and_click "cockpit_software_updates";
}
# wait for the updates to download