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

desktop_browser: disable kernel.org bits temporarily

kernel.org is currently unreachable by IPv4 so this keeps failing.
Will re-enable when the site is fixed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-08-26 13:06:23 -07:00
parent 3c3ed87966
commit 6fea5cc452

View File

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