diff --git a/tests/_graphical_wait_login.pm b/tests/_graphical_wait_login.pm index 2123a29a..29140b20 100644 --- a/tests/_graphical_wait_login.pm +++ b/tests/_graphical_wait_login.pm @@ -25,7 +25,8 @@ sub run { } $wait_time = 300; } - # Wait for the login screen unless it is not already booted + # Wait for the login screen. If the machine is already booted, then skip this test + # and proceed to log in the system and click through the set up. unless (get_var("ASSUME_BOOT") == 1) { boot_to_login_screen(timeout => $wait_time); } diff --git a/tests/upgrade_preinstall.pm b/tests/upgrade_preinstall.pm index 4f2a2001..1d867887 100644 --- a/tests/upgrade_preinstall.pm +++ b/tests/upgrade_preinstall.pm @@ -25,6 +25,9 @@ sub run { my $update_command = 'dnf -y install dnf-plugin-system-upgrade'; assert_script_run $update_command, 600; + # I want to use this test in a suite where it is not followed by a console based module, + # but rather a graphical screen. Therefore, if a booted system with login screen + # is required, switch to graphical terminal. if (get_var("ASSUME_BOOT",0) == 1) { desktop_vt; }