1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-24 16:15:44 +00:00

Work around another lock screen issue in desktop_login

We don't crash on the lock screen in Rawhide GNOME now, but my
fix isn't perfect - the pointer is somehow broken on the lock
screen, so we can't click anything. tab doesn't work either, so
we just can't switch user from the lock screen till this is
fixed better. So for GNOME on Rawhide, we'll skip switching from
the lock screen and just do another 'normal' switch.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-07-30 15:05:00 -07:00
parent 0b58c35eb6
commit ff256eb741

View File

@ -339,8 +339,13 @@ sub run {
# We will also test another alternative - switching the user from
# a locked screen.
lock_screen();
send_key "ret";
# FIXME As of 2025-07 on Rawhide we cannot because of
# https://gitlab.gnome.org/GNOME/mutter/-/issues/4206 , so let's just
# do it 'normally' again
unless ($desktop eq "gnome" && $relnum > 42) {
lock_screen();
send_key "ret";
}
switch_user();
login_user(user => "jack", password => $jackpass);
# we should be back in the previous 'jack' session so the terminal