on xenial help sign in
Changed the test_modal_sd_with_greeter() AP-test to avoid a collision with mterry's greeter-ux-fixes branch... no longer using the launcher-reveal to verify interaction is still possbible, but using the swiping of the greeter itself.
60536fcMirco Müller
tests/autopilot/unity8/shell/tests/test_notifications.py+3−3
@@ -277,11 +277,11 @@ class InteractiveNotificationBase(NotificationsBase):
277 hints
277 hints
278 )
278 )
279
279
280− # verify that we can still reveal the launcher (interact with the shell)
280+ # verify that we can swipe away the greeter (interact with the "shell")
281 time.sleep(1)
281 time.sleep(1)
282 self.main_window.show_dash_swiping()
282 self.main_window.show_dash_swiping()
283− launcher = self.main_window.get_launcher()
283+ greeter = self.main_window.get_greeter()
284− self.assertThat(launcher.shown, Eventually(Equals(True)))
284+ self.assertThat(greeter.shown, Eventually(Equals(False)))
285
285
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()