@@ -236,6 +236,13 @@ class InteractiveNotificationBase(NotificationsBase):
239+ # verify that we cannot reveal the launcher (no longer interact with the shell)
241+ self.main_window.show_dash_swiping()
242+ launcher = self.main_window.get_launcher()
243+ self.assertThat(launcher.shown, Eventually(Equals(False)))
245+ # verify and interact with the triggered snap-decision notification
239 notify_list = self._get_notifications_list()
246 notify_list = self._get_notifications_list()
240 get_notification = lambda: notify_list.wait_select_single(
247 get_notification = lambda: notify_list.wait_select_single(
241 'Notification', objectName='notification0')
248 'Notification', objectName='notification0')
@@ -247,7 +254,6 @@ class InteractiveNotificationBase(NotificationsBase):
247 def test_modal_sd_with_greeter (self):
254 def test_modal_sd_with_greeter (self):
248 """A snap-decision on a phone should not block input to the greeter beneath it."""
255 """A snap-decision on a phone should not block input to the greeter beneath it."""
249 unity_proxy = self.launch_unity()
256 unity_proxy = self.launch_unity()
250− greeter = self.main_window.get_greeter()
252 summary = "Incoming file"
258 summary = "Incoming file"
253 body = "Frank would like to send you the file: essay.pdf"
259 body = "Frank would like to send you the file: essay.pdf"
@@ -271,6 +277,13 @@ class InteractiveNotificationBase(NotificationsBase):
280+ # verify that we can still reveal the launcher (interact with the shell)
282+ self.main_window.show_dash_swiping()
283+ launcher = self.main_window.get_launcher()
284+ self.assertThat(launcher.shown, Eventually(Equals(True)))
286+ # verify and interact with the triggered snap-decision notification
274 notify_list = self._get_notifications_list()
287 notify_list = self._get_notifications_list()
275 get_notification = lambda: notify_list.wait_select_single(
288 get_notification = lambda: notify_list.wait_select_single(
276 'Notification', objectName='notification0')
289 'Notification', objectName='notification0')