desktop_login: tweak password typing so we wait after enter
This makes it so the `wait_still_screen` that comes at the end of `type_very_safely` happens *after we hit enter*, not after we type the password but before we hit enter. I'm hoping this makes the 'set new password at login' more robust on aarch64, it seems to be failing often. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
24c46489a2
commit
fc0698ca1c
@ -87,11 +87,9 @@ sub login_user {
|
||||
if ($method eq "create") {
|
||||
# With users that do not have passwords, we need to make an extra round
|
||||
# of password typing.
|
||||
type_very_safely $password;
|
||||
send_key "ret";
|
||||
type_very_safely "$password\n";
|
||||
}
|
||||
type_very_safely $password;
|
||||
send_key "ret";
|
||||
type_very_safely "$password\n";
|
||||
check_desktop if ($args{checklogin});
|
||||
wait_still_screen 5;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user