mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 13:33:08 +00:00
On Network tests, authenticate if need be.
This commit is contained in:
parent
977d491e8b
commit
75406ee7f4
@ -32,6 +32,13 @@ sub run {
|
||||
# it does not work reliably. Ergo, we will use the old known
|
||||
# ctrl-alt-f2
|
||||
select_console "tty2-console";
|
||||
# Sometimes, we can see an authentication dialogue which
|
||||
# prevents the test from continuing. Authenticate,
|
||||
# if that is the case.
|
||||
my $pass = get_var("USER_PASSWORD", "weakpassword");
|
||||
if (check_screen("auth_required", timeout => 30)) {
|
||||
type_very_safely("$pass\n");
|
||||
}
|
||||
sleep(3);
|
||||
|
||||
# Toggle network
|
||||
|
Loading…
Reference in New Issue
Block a user