1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-26 17:15:47 +00:00

Tweak _boot_to_anaconda web UI flow

We never get direct to installmethod any more, I'm pretty sure -
we always go through language selection. This may change if we
ever fix up the gnome-initial-setup stuff, but for now let's
simplify.

However, web UI now has a date/time page that shows on KDE but
apparently not on GNOME. So if we hit that, click through it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-07-31 17:40:05 -07:00
parent 43f94a4980
commit d43b28bb9a

View File

@ -198,11 +198,11 @@ sub run {
} }
} }
# wait for anaconda to appear # wait for anaconda to appear
unless (check_screen ["anaconda_select_install_lang", "anaconda_webui_installmethod"], 300) { unless (check_screen "anaconda_select_install_lang", 300) {
# may be hitting https://bugzilla.redhat.com/show_bug.cgi?id=2329581, # may be hitting https://bugzilla.redhat.com/show_bug.cgi?id=2329581,
# try pressing a key # try pressing a key
send_key "spc"; send_key "spc";
assert_screen ["anaconda_select_install_lang", "anaconda_webui_installmethod"], 300; assert_screen "anaconda_select_install_lang", 300;
record_soft_failure "boot hung until key pressed - #2329581"; record_soft_failure "boot hung until key pressed - #2329581";
} }
# on webUI path set a var so later tests know # on webUI path set a var so later tests know
@ -231,10 +231,15 @@ sub run {
# the nag screen can take a LONG time to appear sometimes). # the nag screen can take a LONG time to appear sometimes).
# If the hub appears, return - we're done now. If Rawhide # If the hub appears, return - we're done now. If Rawhide
# warning dialog appears, accept it. # warning dialog appears, accept it.
if (check_screen ["anaconda_rawhide_accept_fate", "anaconda_main_hub", "anaconda_webui_installmethod"], 180) { if (check_screen ["anaconda_rawhide_accept_fate", "anaconda_main_hub", "anaconda_webui_installmethod", "anaconda_webui_datetime"], 180) {
if (match_has_tag("anaconda_rawhide_accept_fate")) { if (match_has_tag("anaconda_rawhide_accept_fate")) {
assert_and_click "anaconda_rawhide_accept_fate"; assert_and_click "anaconda_rawhide_accept_fate";
} }
elsif (match_has_tag("anaconda_webui_datetime")) {
assert_and_click "anaconda_webui_next";
assert_screen "anaconda_webui_installmethod";
return;
}
else { else {
# this is when the hub appeared already, we're done # this is when the hub appeared already, we're done
_handle_incomplete_hub; _handle_incomplete_hub;