on xenial help sign in
autopilot fixes ++
commit601103ce7ab5806e7dbe4e34452b25adf7852b9c authorAlbert Astals <albert.astals@canonical.com> dateWed 16 Oct 2013, 15:50 (13 years ago) parent58701ab
1 file changed+3−2
tests/autopilot/unity8/shell/tests/test_notifications.py+3−2
tests/autopilot/unity8/shell/tests/test_notifications.py+3−2
@@ -533,7 +533,7 @@ class EphemeralNotificationsTests(NotificationsBase):
533533 notification = self._create_ephemeral_notification(summary)
534534 notification.show()
535535
536− get_notification = lambda: notify_list.select_single('Notification')
536+ get_notification = lambda: notify_list.select_single('Notification', objectName='notification1')
537537 self.assertThat(get_notification, Eventually(NotEquals(None)))
538538 notification = get_notification()
539539
@@ -678,7 +678,8 @@ class EphemeralNotificationsTests(NotificationsBase):
678678 )
679679 notification.show()
680680 get_notification = lambda: notify_list.select_single(
681− 'Notification'
681+ 'Notification',
682+ objectName='notification1'
682683 )
683684 self.assertThat(get_notification, Eventually(NotEquals(None)))
684685 notification = get_notification()