1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 15:23:08 +00:00

Add login into system.

This commit is contained in:
Lukas Ruzicka 2018-06-27 11:47:33 +02:00
parent 0931b2270a
commit 1c1da2590c

View File

@ -16,10 +16,14 @@ sub run {
# switch back to the graphics
send_key "ctrl-alt-f1";
# DELETE ME, check only
script_run "echo \"I wish I did not see this.\"";
# login onto the system
assert_screen "graphical_login_input";
my $password = get_var("USER_PASSWORD", "weakpassword");
type_very_safely $password;
send_key "ret";
# handle bootloader, if requested; set longer timeout as sometimes
# reboot here seems to take a long time
if (get_var("GRUB_POSTINSTALL")) {