From eba6818f5be70c3df109a98118955aac93b1d861 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 16 Jul 2019 15:53:02 -0700 Subject: [PATCH] KDE app start/stop: also get rid of akonadi notification ...because it screws with the test. See https://bugzilla.redhat.com/show_bug.cgi?id=1716005 Signed-off-by: Adam Williamson --- tests/apps_startstop/kde/aasetting.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/apps_startstop/kde/aasetting.pm b/tests/apps_startstop/kde/aasetting.pm index 4aa3a920..4ffa4a2b 100644 --- a/tests/apps_startstop/kde/aasetting.pm +++ b/tests/apps_startstop/kde/aasetting.pm @@ -41,6 +41,12 @@ sub run { $count -= 1; assert_and_click "desktop_update_notification_popup"; } + # also close akonadi_migration_agent notification if it shows up + # otherwise it makes wait_still_screen always time out + # https://bugzilla.redhat.com/show_bug.cgi?id=1716005 + if (check_screen "akonadi_migration_agent", 10) { + assert_and_click "akonadi_migration_agent"; + } } sub test_flags {