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 <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-12-27 10:46:17 -08:00
parent 20b16e9345
commit f94d43f55d

View File

@ -57,7 +57,7 @@ sub _set_root_password {
sub _do_root_and_user { sub _do_root_and_user {
_set_root_password(); _set_root_password();
# Wait out animation # Wait out animation
sleep 8; wait_still_screen 8;
# Set user details, unless the test is configured not to create one # 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")); anaconda_create_user() unless (get_var("USER_LOGIN") eq 'false' || get_var("INSTALL_NO_USER"));
# Check username (and hence keyboard layout) if non-English # Check username (and hence keyboard layout) if non-English