mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 14:03:09 +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:
parent
fd26d347fe
commit
6a82a7b222
@ -56,10 +56,12 @@ sub _set_root_password {
|
|||||||
|
|
||||||
sub _do_root_and_user {
|
sub _do_root_and_user {
|
||||||
_set_root_password();
|
_set_root_password();
|
||||||
# Wait out animation
|
|
||||||
wait_still_screen 8;
|
|
||||||
# Set user details, unless the test is configured not to create one
|
# Set user details, unless the test is configured not to create one
|
||||||
anaconda_create_user() unless (get_var("USER_LOGIN") eq 'false' || get_var("INSTALL_NO_USER"));
|
unless (get_var("USER_LOGIN") eq 'false' || get_var("INSTALL_NO_USER")) {
|
||||||
|
# Wait out animation
|
||||||
|
wait_still_screen 8;
|
||||||
|
anaconda_create_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
|
||||||
|
Loading…
Reference in New Issue
Block a user