From e9261b8f29ee12f0822200f90d1b1bc7c98f0304 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 22 Mar 2022 08:27:56 -0700 Subject: [PATCH] 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 --- tests/_do_install_and_reboot.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/_do_install_and_reboot.pm b/tests/_do_install_and_reboot.pm index f2f16ca1..e469e36d 100644 --- a/tests/_do_install_and_reboot.pm +++ b/tests/_do_install_and_reboot.pm @@ -35,6 +35,8 @@ sub _set_root_password { # differs; pre-release text is also translated) } assert_and_click "anaconda_spoke_done"; + # exiting this screen can take a while, so check for the hub + assert_screen "anaconda_main_hub"; } }