From 3d8852cb60e48c17a250a9adf801a5e95f93cd4d Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 12 Nov 2020 10:16:03 -0800 Subject: [PATCH] desktop_notifications: wait longer at login screen This matches the wait in boot_to_login_screen. The needle can match before the UI is really done loading, and if we don't wait long enough we wind up hitting enter before GDM is really ready for us. This seems to be affecting the test on aarch64 quite badly. Signed-off-by: Adam Williamson --- tests/desktop_notifications.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/desktop_notifications.pm b/tests/desktop_notifications.pm index 50a07850..5934347d 100644 --- a/tests/desktop_notifications.pm +++ b/tests/desktop_notifications.pm @@ -56,7 +56,7 @@ sub run { # we trust systemd to switch us to the right tty here if (get_var("BOOTFROM")) { assert_screen 'graphical_login'; - wait_still_screen 3; + wait_still_screen 10, 30; # GDM 3.24.1 dumps a cursor in the middle of the screen here... mouse_hide; if (get_var("DESKTOP") eq 'gnome') {