mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-19 19:51:25 +00:00
Try a different workaround for RHBZ #1444225
That other one didn't help, so let's try this - try and spot if the spoke is in the unexpected state (the needle should only match if the spoke is done processing and still in warning state, it shouldn't match while the needle is still thinking) and click through it again if so.
This commit is contained in:
parent
aca7de2861
commit
e61cfa699c
@ -10,6 +10,7 @@
|
||||
],
|
||||
"tags": [
|
||||
"anaconda_main_hub_install_destination",
|
||||
"anaconda_main_hub_install_destination_warning",
|
||||
"ENV-DISTRI-fedora"
|
||||
]
|
||||
}
|
||||
|
@ -6,10 +6,21 @@ use utils;
|
||||
sub run {
|
||||
my $self = shift;
|
||||
# Begin installation
|
||||
# Deal with RHBZ #1444225: if INSTALLATION DESTINATION is showing
|
||||
# incomplete (which it never should at this point), take a quick
|
||||
# trip through it to fix it
|
||||
foreach my $i (1..150) {
|
||||
last if (check_screen "anaconda_main_hub_begin_installation", 1);
|
||||
if (check_screen "anaconda_main_hub_install_destination_warning", 1) {
|
||||
record_soft_failure "RHBZ #1444225 (INSTALLATION DESTINATION bug)";
|
||||
assert_and_click "anaconda_main_hub_install_destination";
|
||||
wait_still screen 2;
|
||||
assert_and_click "anaconda_spoke_done";
|
||||
}
|
||||
}
|
||||
# Sometimes, the 'slide in from the top' animation messes with
|
||||
# this - by the time we click the button isn't where it was any
|
||||
# more. So wait a sec just in case.
|
||||
assert_screen "anaconda_main_hub_begin_installation", 300; #
|
||||
# more. So wait for screen to stop moving before we click.
|
||||
wait_still_screen 2;
|
||||
assert_and_click "anaconda_main_hub_begin_installation";
|
||||
|
||||
|
@ -15,8 +15,6 @@ sub run {
|
||||
assert_screen "anaconda_install_destination_updates", 30;
|
||||
}
|
||||
|
||||
# try and workaround #1444225 by waiting a bit before clicking Done
|
||||
sleep 2;
|
||||
assert_and_click "anaconda_spoke_done";
|
||||
|
||||
# Anaconda hub
|
||||
|
Loading…
Reference in New Issue
Block a user