mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +00:00
Workaround RHBZ#1821499 in desktop live notifications test
A GNOME bug seems to result in us getting to GDM, not a liveuser desktop, after running 'systemctl isolate graphical.target' from a live boot to runlevel 3 since the end of March. This works around that to let the test run, as it's not really a failure of the test per se. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
cc5c85a3e4
commit
d8c7f85ecb
@ -65,6 +65,16 @@ sub run {
|
|||||||
type_very_safely get_var("USER_PASSWORD", "weakpassword");
|
type_very_safely get_var("USER_PASSWORD", "weakpassword");
|
||||||
send_key 'ret';
|
send_key 'ret';
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
# the "live boot" branch; we may need to work around
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1821499
|
||||||
|
# we should wind up at desktop now, but with that bug we
|
||||||
|
# hit GDM instead
|
||||||
|
if (check_screen "graphical_login", 30) {
|
||||||
|
record_soft_failure "Hit GDM unexpectedly - #1821499";
|
||||||
|
send_key 'ret';
|
||||||
|
}
|
||||||
|
}
|
||||||
check_desktop_clean(tries=>30);
|
check_desktop_clean(tries=>30);
|
||||||
# now, WE WAIT. this is just an unconditional wait - rather than
|
# now, WE WAIT. this is just an unconditional wait - rather than
|
||||||
# breaking if we see an update notification appear - so we catch
|
# breaking if we see an update notification appear - so we catch
|
||||||
|
Loading…
Reference in New Issue
Block a user