mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +00:00
Fix KDE live notification test (dismiss network notification)
KDE in F28+ seems to show a network connection notification on live boot, for some reason. Just dismiss it to help the test pass. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
df9db4fb2f
commit
c2a5846064
16
needles/kde/desktop_network_dismiss-kde.json
Normal file
16
needles/kde/desktop_network_dismiss-kde.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"tags": [
|
||||||
|
"DESKTOP-kde",
|
||||||
|
"desktop_notification_dismiss"
|
||||||
|
],
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 992,
|
||||||
|
"ypos": 435,
|
||||||
|
"width": 15,
|
||||||
|
"height": 16,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": []
|
||||||
|
}
|
BIN
needles/kde/desktop_network_dismiss-kde.png
Normal file
BIN
needles/kde/desktop_network_dismiss-kde.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 388 KiB |
16
needles/kde/desktop_network_notification-kde.json
Normal file
16
needles/kde/desktop_network_notification-kde.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"tags": [
|
||||||
|
"DESKTOP-kde",
|
||||||
|
"desktop_network_notification"
|
||||||
|
],
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 641,
|
||||||
|
"ypos": 430,
|
||||||
|
"width": 142,
|
||||||
|
"height": 21,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": []
|
||||||
|
}
|
BIN
needles/kde/desktop_network_notification-kde.png
Normal file
BIN
needles/kde/desktop_network_notification-kde.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 388 KiB |
@ -87,6 +87,11 @@ sub run {
|
|||||||
# the notifications bit
|
# the notifications bit
|
||||||
assert_and_click 'desktop_expand_systray';
|
assert_and_click 'desktop_expand_systray';
|
||||||
assert_and_click 'desktop_systray_notifications';
|
assert_and_click 'desktop_systray_notifications';
|
||||||
|
# In F28+ we seem to get a network connection notification
|
||||||
|
# here. Let's dismiss it.
|
||||||
|
if (check_screen 'desktop_network_notification', 5) {
|
||||||
|
assert_and_click 'desktop_notification_dismiss';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (get_var("BOOTFROM")) {
|
if (get_var("BOOTFROM")) {
|
||||||
# we should see an update notification and no others
|
# we should see an update notification and no others
|
||||||
|
Loading…
Reference in New Issue
Block a user