1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

Fix root password screen handling in anaconda_help test

Code isn't shared with _do_install_and_reboot, maybe we should
fix that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-09-02 11:04:17 -07:00
parent 81c0a861d6
commit 86a7f849e7

View File

@ -52,6 +52,10 @@ sub run {
# we must
unless (get_var("DESKTOP") eq "gnome" ) {
assert_and_click "anaconda_main_hub_root_password";
# from anaconda-35.22.1 onwards, we have to click 'enable root
# account' before typing the password. For older versions,
# clicking this needle does nothing but is harmless
assert_and_click "anaconda_install_root_password_screen";
type_safely "weakrootpassword";
send_key "tab";
type_safely "weakrootpassword";