From f94d43f55d73c8b5992b259a67e228d05cbcae49 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 27 Dec 2019 10:46:17 -0800 Subject: [PATCH] Try and wait more safely before entering user creation This failed a couple times in a row on KDE live, let's see if wait_still_screen is better than sleep. Signed-off-by: Adam Williamson --- tests/_do_install_and_reboot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/_do_install_and_reboot.pm b/tests/_do_install_and_reboot.pm index 6833e0ac..5839ebe6 100644 --- a/tests/_do_install_and_reboot.pm +++ b/tests/_do_install_and_reboot.pm @@ -57,7 +57,7 @@ sub _set_root_password { sub _do_root_and_user { _set_root_password(); # Wait out animation - sleep 8; + wait_still_screen 8; # Set user details, unless the test is configured not to create one anaconda_create_user() unless (get_var("USER_LOGIN") eq 'false' || get_var("INSTALL_NO_USER")); # Check username (and hence keyboard layout) if non-English