mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 05:53:09 +00:00
Install webui to trigger new Anaconda.
This commit is contained in:
parent
b287a4a9d5
commit
55ec6a2179
@ -137,6 +137,17 @@ sub run {
|
|||||||
my $relnum = get_release_number;
|
my $relnum = get_release_number;
|
||||||
my $dclick = 0;
|
my $dclick = 0;
|
||||||
$dclick = 1 if (get_var("DESKTOP") eq "kde");
|
$dclick = 1 if (get_var("DESKTOP") eq "kde");
|
||||||
|
# WORKAROUND: New Anaconda does not start automatically,
|
||||||
|
# so we need to work around this by installing a package
|
||||||
|
# to trigger it.
|
||||||
|
menu_launch_type("terminal");
|
||||||
|
wait_still_screen(2);
|
||||||
|
enter_cmd("sudo dnf install -y anaconda-webui");
|
||||||
|
sleep(30);
|
||||||
|
enter_cmd("exit");
|
||||||
|
wait_still_screen(2);
|
||||||
|
|
||||||
|
# Start Anaconda by clicking on the launcher icon.
|
||||||
assert_and_click("live_start_anaconda_icon", dclick => $dclick);
|
assert_and_click("live_start_anaconda_icon", dclick => $dclick);
|
||||||
unless (check_screen "anaconda_select_install_lang", 180) {
|
unless (check_screen "anaconda_select_install_lang", 180) {
|
||||||
# click it again - on KDE since 2019-10 or so it seems
|
# click it again - on KDE since 2019-10 or so it seems
|
||||||
@ -144,26 +155,31 @@ sub run {
|
|||||||
assert_and_click("live_start_anaconda_icon", dclick => $dclick, timeout => 300);
|
assert_and_click("live_start_anaconda_icon", dclick => $dclick, timeout => 300);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
my $language = get_var('LANGUAGE') || 'english';
|
# Run the language selection only if not on Workstation,
|
||||||
# wait for anaconda to appear; we click to work around
|
# because Workstation does not provide language selection
|
||||||
# RHBZ #1566066 if it happens
|
# with new Anaconda yet.
|
||||||
assert_and_click("anaconda_select_install_lang", timeout => 300);
|
unless (get_var("SUBVARIANT" eq "Workstation")) {
|
||||||
|
my $language = get_var('LANGUAGE') || 'english';
|
||||||
|
# wait for anaconda to appear; we click to work around
|
||||||
|
# RHBZ #1566066 if it happens
|
||||||
|
assert_and_click("anaconda_select_install_lang", timeout => 300);
|
||||||
|
|
||||||
# Select install language
|
# Select install language
|
||||||
wait_screen_change { assert_and_click "anaconda_select_install_lang_input"; };
|
wait_screen_change { assert_and_click "anaconda_select_install_lang_input"; };
|
||||||
type_safely $language;
|
type_safely $language;
|
||||||
# Needle filtering in main.pm ensures we will only look for the
|
# Needle filtering in main.pm ensures we will only look for the
|
||||||
# appropriate language, here
|
# appropriate language, here
|
||||||
assert_and_click "anaconda_select_install_lang_filtered";
|
assert_and_click "anaconda_select_install_lang_filtered";
|
||||||
assert_screen "anaconda_select_install_lang_selected", 10;
|
assert_screen "anaconda_select_install_lang_selected", 10;
|
||||||
# Check for Help on the Language selection pane, if HELPCHECK is
|
# Check for Help on the Language selection pane, if HELPCHECK is
|
||||||
# required
|
# required
|
||||||
if (get_var('HELPCHECK')) {
|
if (get_var('HELPCHECK')) {
|
||||||
check_help_on_pane("language_selection");
|
check_help_on_pane("language_selection");
|
||||||
|
}
|
||||||
|
|
||||||
|
assert_and_click "anaconda_select_install_lang_continue";
|
||||||
}
|
}
|
||||||
|
|
||||||
assert_and_click "anaconda_select_install_lang_continue";
|
|
||||||
|
|
||||||
# wait 180 secs for hub or Rawhide warning dialog to appear
|
# wait 180 secs for hub or Rawhide warning dialog to appear
|
||||||
# (per https://bugzilla.redhat.com/show_bug.cgi?id=1666112
|
# (per https://bugzilla.redhat.com/show_bug.cgi?id=1666112
|
||||||
# the nag screen can take a LONG time to appear sometimes).
|
# the nag screen can take a LONG time to appear sometimes).
|
||||||
|
Loading…
Reference in New Issue
Block a user