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,6 +155,10 @@ sub run {
|
|||||||
assert_and_click("live_start_anaconda_icon", dclick => $dclick, timeout => 300);
|
assert_and_click("live_start_anaconda_icon", dclick => $dclick, timeout => 300);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
# Run the language selection only if not on Workstation,
|
||||||
|
# because Workstation does not provide language selection
|
||||||
|
# with new Anaconda yet.
|
||||||
|
unless (get_var("SUBVARIANT" eq "Workstation")) {
|
||||||
my $language = get_var('LANGUAGE') || 'english';
|
my $language = get_var('LANGUAGE') || 'english';
|
||||||
# wait for anaconda to appear; we click to work around
|
# wait for anaconda to appear; we click to work around
|
||||||
# RHBZ #1566066 if it happens
|
# RHBZ #1566066 if it happens
|
||||||
@ -163,6 +178,7 @@ sub run {
|
|||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user