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

Handle authentication.

This commit is contained in:
Lukas Ruzicka 2018-07-10 16:44:19 +02:00
parent 1790a6e5d6
commit 6542a90203

View File

@ -61,12 +61,13 @@ sub run {
# handle reboot confirm screen which pops up when user is # handle reboot confirm screen which pops up when user is
# logged in (but don't fail if it doesn't as we're not testing # logged in (but don't fail if it doesn't as we're not testing
# that) # that)
if (check_screen 'gnome_reboot_confirm', 15) {
# on F27+, default is Cancel, earlier, default is Restart if match_has_tag('desktop_package_tool_password'){
my $version = lc(get_var("VERSION")); type_very_safely(get_var('USER_PASSWORD','weakpassword'));
send_key 'tab' if ($version eq 'rawhide' || $version > 26); assert_and_click('desktop_package_tool_authenticate','',30);
send_key 'ret'; }
}
boot_to_login_screen; boot_to_login_screen;
} }
else { else {