on xenial help sign in
The snap-decision AP-test for "incoming call"-case used the wrong objectName "notification0". It has to be "notification1".
98ee2f7Mirco Müller
tests/autopilot/unity8/shell/tests/test_notifications.py+1−1
@@ -194,7 +194,7 @@ class InteractiveNotificationBase(NotificationsBase):
194
194
195 notify_list = self._get_notifications_list()
195 notify_list = self._get_notifications_list()
196 get_notification = lambda: notify_list.wait_select_single(
196 get_notification = lambda: notify_list.wait_select_single(
197− 'Notification', objectName='notification0')
197+ 'Notification', objectName='notification1')
198 notification = get_notification()
198 notification = get_notification()
199 self._assert_notification(notification, None, None, True, True, 1.0)
199 self._assert_notification(notification, None, None, True, True, 1.0)
200 initial_height = notification.height
200 initial_height = notification.height