mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-17 18:51:26 +00:00
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:
parent
45381f33ff
commit
2583f18c05
@ -322,7 +322,7 @@ sub check_help_on_pane {
|
|||||||
# step, we are skipping selecting the panes.
|
# step, we are skipping selecting the panes.
|
||||||
if ($screen ne "main" && $screen ne "language_selection" && $screen ne "installation_progress") {
|
if ($screen ne "main" && $screen ne "language_selection" && $screen ne "installation_progress") {
|
||||||
send_key_until_needlematch("anaconda_main_hub_$screen", "shift-tab");
|
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.
|
# For Help, click on the the Help button.
|
||||||
assert_and_click "anaconda_help_button";
|
assert_and_click "anaconda_help_button";
|
||||||
|
Loading…
Reference in New Issue
Block a user