anaconda_help: check for screen change when entering spoke

Otherwise if it lags a bit we might try and click the Help!
button on the hub, and if that happens before anaconda has caught
up, we won't open Help at all.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-05-31 15:27:11 -07:00
parent 45381f33ff
commit 2583f18c05

View File

@ -322,7 +322,7 @@ sub check_help_on_pane {
# step, we are skipping selecting the panes.
if ($screen ne "main" && $screen ne "language_selection" && $screen ne "installation_progress") {
send_key_until_needlematch("anaconda_main_hub_$screen", "shift-tab");
click_lastmatch;
wait_screen_change { click_lastmatch; };
}
# For Help, click on the the Help button.
assert_and_click "anaconda_help_button";