mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-21 20:51:25 +00:00
Handle KDE having a permanent update notification again
Looks like the latest Rawhide got a permanent update notification for KDE again. F34 is still around, though, so we can't just revert to the old code, I don't think. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
50947f8ba5
commit
9d499eb5e1
@ -0,0 +1,23 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 590,
|
||||
"ypos": 397,
|
||||
"width": 127,
|
||||
"height": 15,
|
||||
"type": "match"
|
||||
},
|
||||
{
|
||||
"xpos": 973,
|
||||
"ypos": 396,
|
||||
"width": 39,
|
||||
"height": 173,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"DESKTOP-kde",
|
||||
"desktop_update_notification_only"
|
||||
]
|
||||
}
|
BIN
needles/kde/desktop_update_notification_only-kde-20210615.png
Normal file
BIN
needles/kde/desktop_update_notification_only-kde-20210615.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 837 KiB |
@ -119,10 +119,15 @@ sub run {
|
||||
}
|
||||
if (get_var("BOOTFROM")) {
|
||||
if ($desktop eq 'kde' && $relnum > 33) {
|
||||
# there is no permanent notification in F34+, check we saw
|
||||
# the transient one earlier and we see no others now
|
||||
assert_screen "desktop_no_notifications";
|
||||
die "No update notification was shown!" unless $seen;
|
||||
# there is not always a permanent notification in F34+,
|
||||
# if we don't see one, check we saw the transient one
|
||||
# earlier. FIXME: maybe drop the 'transient' path here
|
||||
# if the permanent notification seems to be reliably
|
||||
# back after 2021-06-13 Rawhide?
|
||||
assert_screen ["desktop_no_notifications", "desktop_update_notification_only"];
|
||||
if (match_has_tag "desktop_no_notifications") {
|
||||
die "No update notification was shown!" unless $seen;
|
||||
}
|
||||
}
|
||||
else {
|
||||
# we should see an update notification and no others
|
||||
|
Loading…
Reference in New Issue
Block a user