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

Try to avoid a race in GNOME check_desktop

We can match on apps_menu_button_active before the overview has
totally loaded in, and it seems the alt-f1 press can be dropped
in that case. Add a wait_still_screen to try and avoid that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-08-05 11:22:25 -07:00
parent c13b19591c
commit a9f54e9a50

View File

@ -878,6 +878,7 @@ sub check_desktop {
# GNOME 40 starts on the overview by default; for consistency with # GNOME 40 starts on the overview by default; for consistency with
# older GNOME and KDE, let's just close it # older GNOME and KDE, let's just close it
if (match_has_tag "apps_menu_button_active") { if (match_has_tag "apps_menu_button_active") {
wait_still_screen 3;
send_key "alt-f1"; send_key "alt-f1";
assert_screen "apps_menu_button_inactive"; assert_screen "apps_menu_button_inactive";
} }