1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-28 16:43:09 +00:00

More tweaking the damn 'begin installation' bit

`click_lastmatch` wasn't safe there, if we caught the middlle of
the scroll animation. We have to assert again after waiting.
Also do the same in `_do_install_and_reboot` as the same can
happen.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-08-10 11:56:56 -07:00
parent 07aa8cfb32
commit ba5a338e13
2 changed files with 3 additions and 2 deletions

View File

@ -83,7 +83,8 @@ sub run {
# Sometimes, the 'slide in from the top' animation messes with # Sometimes, the 'slide in from the top' animation messes with
# this - by the time we click the button isn't where it was any # this - by the time we click the button isn't where it was any
# more. So wait for screen to stop moving before we click. # more. So wait for screen to stop moving before we click.
wait_still_screen 8; assert_screen "anaconda_main_hub_begin_installation", 90;
wait_still_screen 5;
assert_and_click "anaconda_main_hub_begin_installation"; assert_and_click "anaconda_main_hub_begin_installation";
# If we want to test identification we will do it # If we want to test identification we will do it

View File

@ -60,7 +60,7 @@ sub run {
# Begin installation after waiting out animation # Begin installation after waiting out animation
assert_screen "anaconda_main_hub_begin_installation", 90; assert_screen "anaconda_main_hub_begin_installation", 90;
wait_still_screen 5; wait_still_screen 5;
click_lastmatch; assert_and_click "anaconda_main_hub_begin_installation";
# Check the last Help screen # Check the last Help screen
check_help_on_pane("installation_progress"); check_help_on_pane("installation_progress");