1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-21 18:03:11 +00:00

Revert "desktop_browser: disable kernel.org bits temporarily"

This reverts commit 6fea5cc452.
kernel.org is fixed now.
This commit is contained in:
Adam Williamson 2024-08-26 15:35:18 -07:00
parent c24e3fa9a1
commit 3cd5a9cfc2

View File

@ -47,17 +47,17 @@ sub run {
# check FAS, typing slowly to avoid errors
type_very_safely "https://accounts.fedoraproject.org/\n";
assert_screen 'browser_fas_home';
# _open_new_tab;
# wait_still_screen(stilltime => 2, similarity_level => 45);
_open_new_tab;
wait_still_screen(stilltime => 2, similarity_level => 45);
sleep 2;
# type_very_safely "https://kernel.org\n";
# assert_and_click "browser_kernelorg_patch";
# wait_still_screen(stilltime => 2, similarity_level => 45);
type_very_safely "https://kernel.org\n";
assert_and_click "browser_kernelorg_patch";
wait_still_screen(stilltime => 2, similarity_level => 45);
# browsers do...something...when the download completes, and we
# expect there's a single click to make it go away and return
# browser to a state where we can open a new tab
# assert_and_click "browser_download_complete";
# wait_still_screen(stilltime => 2, similarity_level => 45);
assert_and_click "browser_download_complete";
wait_still_screen(stilltime => 2, similarity_level => 45);
# we'll check it actually downloaded later
# add-on test: at present all desktops we test (KDE, GNOME) are
# using Firefox by default so we do this unconditionally, but we
@ -74,9 +74,9 @@ sub run {
assert_and_click "firefox_addon_install";
assert_and_click "firefox_addon_success";
# go to a console and check download worked
# $self->root_console(tty => 3);
# my $user = get_var("USER_LOGIN", "test");
# assert_script_run "test -e /home/$user/Downloads/patch-*.xz";
$self->root_console(tty => 3);
my $user = get_var("USER_LOGIN", "test");
assert_script_run "test -e /home/$user/Downloads/patch-*.xz";
}
sub test_flags {