Switch to console for ongoing tests

This commit is contained in:
Alan Marshall 2023-01-14 16:11:35 +00:00
parent 6b0d06fbaa
commit 5d9f4dddba
Signed by: alangm
GPG Key ID: 4DF85D1B967F51A6

View File

@ -23,6 +23,9 @@ sub run {
# Wait for the text login
boot_to_login_screen(timeout => $wait_time);
# switch to TTY3 for both, graphical and console tests
$self->root_console(tty=>3);
# do user login unless USER_LOGIN is set to string 'false'
unless (get_var("USER_LOGIN") eq "false") {
# this avoids us waiting 90 seconds for a # to show up