diff --git a/needles/kde/desktop_network_dismiss-kde.json b/needles/kde/desktop_network_dismiss-kde.json new file mode 100644 index 00000000..c4176c1d --- /dev/null +++ b/needles/kde/desktop_network_dismiss-kde.json @@ -0,0 +1,16 @@ +{ + "tags": [ + "DESKTOP-kde", + "desktop_notification_dismiss" + ], + "area": [ + { + "xpos": 992, + "ypos": 435, + "width": 15, + "height": 16, + "type": "match" + } + ], + "properties": [] +} \ No newline at end of file diff --git a/needles/kde/desktop_network_dismiss-kde.png b/needles/kde/desktop_network_dismiss-kde.png new file mode 100644 index 00000000..58d4a23c Binary files /dev/null and b/needles/kde/desktop_network_dismiss-kde.png differ diff --git a/needles/kde/desktop_network_notification-kde.json b/needles/kde/desktop_network_notification-kde.json new file mode 100644 index 00000000..018490ec --- /dev/null +++ b/needles/kde/desktop_network_notification-kde.json @@ -0,0 +1,16 @@ +{ + "tags": [ + "DESKTOP-kde", + "desktop_network_notification" + ], + "area": [ + { + "xpos": 641, + "ypos": 430, + "width": 142, + "height": 21, + "type": "match" + } + ], + "properties": [] +} \ No newline at end of file diff --git a/needles/kde/desktop_network_notification-kde.png b/needles/kde/desktop_network_notification-kde.png new file mode 100644 index 00000000..58d4a23c Binary files /dev/null and b/needles/kde/desktop_network_notification-kde.png differ diff --git a/tests/desktop_notifications.pm b/tests/desktop_notifications.pm index c0e82f2d..37cc9f2c 100644 --- a/tests/desktop_notifications.pm +++ b/tests/desktop_notifications.pm @@ -87,6 +87,11 @@ sub run { # the notifications bit assert_and_click 'desktop_expand_systray'; 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")) { # we should see an update notification and no others