1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 23:03:08 +00:00

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

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