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
1 changed files with 1 additions and 0 deletions

View File

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