1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 23:33:07 +00:00

Tweak still screen waits in _do_install_and_reboot

We still have sliding animation issues sometimes, this should
help.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-06-16 08:36:01 -07:00
parent fd26d347fe
commit 6a82a7b222

View File

@ -56,10 +56,12 @@ sub _set_root_password {
sub _do_root_and_user { sub _do_root_and_user {
_set_root_password(); _set_root_password();
# Set user details, unless the test is configured not to create one
unless (get_var("USER_LOGIN") eq 'false' || get_var("INSTALL_NO_USER")) {
# Wait out animation # Wait out animation
wait_still_screen 8; wait_still_screen 8;
# Set user details, unless the test is configured not to create one anaconda_create_user();
anaconda_create_user() unless (get_var("USER_LOGIN") eq 'false' || get_var("INSTALL_NO_USER")); }
# Check username (and hence keyboard layout) if non-English # Check username (and hence keyboard layout) if non-English
if (get_var('LANGUAGE')) { if (get_var('LANGUAGE')) {
assert_screen "anaconda_install_user_created"; assert_screen "anaconda_install_user_created";
@ -81,7 +83,7 @@ sub run {
# Sometimes, the 'slide in from the top' animation messes with # Sometimes, the 'slide in from the top' animation messes with
# this - by the time we click the button isn't where it was any # this - by the time we click the button isn't where it was any
# more. So wait for screen to stop moving before we click. # more. So wait for screen to stop moving before we click.
wait_still_screen 2; wait_still_screen 8;
assert_and_click "anaconda_main_hub_begin_installation"; assert_and_click "anaconda_main_hub_begin_installation";
# If we want to test identification we will do it # If we want to test identification we will do it