mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 13:11:26 +00:00
Make desktop_login wait a bit before trying to launch stuff
We're trying to launch stuff the instant we see a desktop, and it seems to be failing quite often in GNOME. Let's give it a few seconds. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
fead784087
commit
3d6e46db28
@ -243,6 +243,8 @@ sub run {
|
|||||||
|
|
||||||
# Log in with the first user account.
|
# Log in with the first user account.
|
||||||
login_user(user=>"jack", password=>$jackpass);
|
login_user(user=>"jack", password=>$jackpass);
|
||||||
|
# give it a few seconds to settle before we launch stuff
|
||||||
|
wait_still_screen 5;
|
||||||
# Because some of the desktop candiness is based on semi-transparent items that change colours
|
# Because some of the desktop candiness is based on semi-transparent items that change colours
|
||||||
# with every background change, we want to get rid of the background and make it a solid color.
|
# with every background change, we want to get rid of the background and make it a solid color.
|
||||||
solidify_wallpaper;
|
solidify_wallpaper;
|
||||||
@ -259,6 +261,8 @@ sub run {
|
|||||||
# If not, we are in KDE and we will log in normally.
|
# If not, we are in KDE and we will log in normally.
|
||||||
login_user(user=>"jim", password=>$jimpass);
|
login_user(user=>"jim", password=>$jimpass);
|
||||||
}
|
}
|
||||||
|
# give it a few seconds to settle before we launch stuff
|
||||||
|
wait_still_screen 5;
|
||||||
# The backgrounds must be solid for both newly created users to take effect in the login session.
|
# The backgrounds must be solid for both newly created users to take effect in the login session.
|
||||||
solidify_wallpaper;
|
solidify_wallpaper;
|
||||||
check_user_logged_in("jim");
|
check_user_logged_in("jim");
|
||||||
|
Loading…
Reference in New Issue
Block a user