From 2583f18c05b84b9b18d6bf3fa28b3d63cd9424c1 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 31 May 2021 15:27:11 -0700 Subject: [PATCH] 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 --- lib/anaconda.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/anaconda.pm b/lib/anaconda.pm index 3f517fb0..55f54604 100644 --- a/lib/anaconda.pm +++ b/lib/anaconda.pm @@ -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";