1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +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:
Adam Williamson 2017-07-10 12:24:41 -07:00
parent aca7de2861
commit e61cfa699c
3 changed files with 14 additions and 4 deletions

View File

@ -10,6 +10,7 @@
],
"tags": [
"anaconda_main_hub_install_destination",
"anaconda_main_hub_install_destination_warning",
"ENV-DISTRI-fedora"
]
}

View File

@ -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";

View File

@ -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