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 <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-09-02 11:10:16 -07:00
parent 86a7f849e7
commit a35befab8c
1 changed files with 6 additions and 0 deletions

View File

@ -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")) {