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.
commit60536fc7aafb7b01411a795b3c36ac0d5c521faa authorMirco Müller <mirco.mueller@canonical.com> dateMon 14 Apr 2014, 17:54 (13 years ago) parent06b8628
1 file changed+3−3
tests/autopilot/unity8/shell/tests/test_notifications.py+3−3
tests/autopilot/unity8/shell/tests/test_notifications.py+3−3
@@ -277,11 +277,11 @@ class InteractiveNotificationBase(NotificationsBase):
277277 hints
278278 )
279279
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")
281281 time.sleep(1)
282282 self.main_window.show_dash_swiping()
283− launcher = self.main_window.get_launcher()
284− self.assertThat(launcher.shown, Eventually(Equals(True)))
283+ greeter = self.main_window.get_greeter()
284+ self.assertThat(greeter.shown, Eventually(Equals(False)))
285285
286286 # verify and interact with the triggered snap-decision notification
287287 notify_list = self._get_notifications_list()