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

Enable user switching for KDE too

This commit is contained in:
Lukáš Růžička 2020-05-18 14:19:53 +02:00
parent fead784087
commit b8cda9cfda

View File

@ -287,11 +287,7 @@ sub run {
login_user(user=>"jim", password=>$jimpass, method=>"unlock"); login_user(user=>"jim", password=>$jimpass, method=>"unlock");
# Switch user tests # Switch user tests
if ($desktop eq "gnome") { #
# Because KDE at the moment (20200403) is very unreliable concerning switching the users inside
# the virtual machine, we will skip this part, until situation is better. Switching users will
# be only tested in Gnome.
# Start a terminal session to monitor on which sessions we are, when we start switching users. # Start a terminal session to monitor on which sessions we are, when we start switching users.
# This time, we will open the terminal window manually because we want to leave it open later. # This time, we will open the terminal window manually because we want to leave it open later.
menu_launch_type "terminal"; menu_launch_type "terminal";
@ -321,7 +317,6 @@ sub run {
switch_user(); switch_user();
login_user(user=>"jack", password=>$jackpass); login_user(user=>"jack", password=>$jackpass);
check_user_logged_in("jack"); check_user_logged_in("jack");
}
# Power off the machine # Power off the machine
power_off(); power_off();
check_shutdown; check_shutdown;