on xenial help sign in
Argl... wrong object-names used.
2253b7fMirco Müller
tests/autopilot/unity8/shell/tests/test_notifications.py+2−2
@@ -245,7 +245,7 @@ class InteractiveNotificationBase(NotificationsBase):
245 # verify and interact with the triggered snap-decision notification
245 # verify and interact with the triggered snap-decision notification
246 notify_list = self._get_notifications_list()
246 notify_list = self._get_notifications_list()
247 get_notification = lambda: notify_list.wait_select_single(
247 get_notification = lambda: notify_list.wait_select_single(
248− 'Notification', objectName='notification0')
248+ 'Notification', objectName='notification1')
249 notification = get_notification()
249 notification = get_notification()
250 self._assert_notification(notification, summary, body, True, False, 1.0)
250 self._assert_notification(notification, summary, body, True, False, 1.0)
251 self.touch.tap_object(notification.select_single(objectName="button0"))
251 self.touch.tap_object(notification.select_single(objectName="button0"))
@@ -286,7 +286,7 @@ class InteractiveNotificationBase(NotificationsBase):
286 # verify and interact with the triggered snap-decision notification
286 # verify and interact with the triggered snap-decision notification
287 notify_list = self._get_notifications_list()
287 notify_list = self._get_notifications_list()
288 get_notification = lambda: notify_list.wait_select_single(
288 get_notification = lambda: notify_list.wait_select_single(
289− 'Notification', objectName='notification0')
289+ 'Notification', objectName='notification1')
290 notification = get_notification()
290 notification = get_notification()
291 self._assert_notification(notification, summary, body, True, False, 1.0)
291 self._assert_notification(notification, summary, body, True, False, 1.0)
292 self.touch.tap_object(notification.select_single(objectName="button0"))
292 self.touch.tap_object(notification.select_single(objectName="button0"))