mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-29 09:03:08 +00:00
Add login into system.
This commit is contained in:
parent
0931b2270a
commit
1c1da2590c
@ -16,10 +16,14 @@ sub run {
|
|||||||
|
|
||||||
# switch back to the graphics
|
# switch back to the graphics
|
||||||
send_key "ctrl-alt-f1";
|
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
|
# handle bootloader, if requested; set longer timeout as sometimes
|
||||||
# reboot here seems to take a long time
|
# reboot here seems to take a long time
|
||||||
if (get_var("GRUB_POSTINSTALL")) {
|
if (get_var("GRUB_POSTINSTALL")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user