1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-12 01:44:21 +00:00

Wait till we reach hub after setting root password

Lately anaconda can take up to 10 seconds to exit the root pw
spoke, which can defeat the subsequent `wait_still_screen` that's
meant to wait out the 'slide-in-from-the-top' animation of the
hub. So let's assert the hub after we click Done, then the still
screen wait will only happen *once the hub is visible* and should
really do its job.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-03-22 08:27:56 -07:00
parent 904fd7e406
commit e9261b8f29

View File

@ -35,6 +35,8 @@ sub _set_root_password {
# differs; pre-release text is also translated) # differs; pre-release text is also translated)
} }
assert_and_click "anaconda_spoke_done"; assert_and_click "anaconda_spoke_done";
# exiting this screen can take a while, so check for the hub
assert_screen "anaconda_main_hub";
} }
} }