From a35befab8c3106a2cd39c4e74657534b815222a3 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 2 Sep 2021 11:10:16 -0700 Subject: [PATCH] Workaround a notification test issue on F35 KDE Closing the last notification in the tray closes the entire tray now, which seems odd. Cope with that by re-opening it. Signed-off-by: Adam Williamson --- tests/desktop_notifications.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/desktop_notifications.pm b/tests/desktop_notifications.pm index 5b4a6d84..047e61cb 100644 --- a/tests/desktop_notifications.pm +++ b/tests/desktop_notifications.pm @@ -115,6 +115,12 @@ sub run { # In F32+ we may get an 'akonadi did something' message if (check_screen 'akonadi_migration_notification', 5) { click_lastmatch; + # in F35+, closing that closes the entire panel, so + # re-open it + if (check_screen 'desktop_expand_systray', 10) { + click_lastmatch; + assert_and_click 'desktop_systray_notifications'; + } } } if (get_var("BOOTFROM")) {