@@ -19,6 +19,7 @@
20import mock
20import mock
22+from unity8 import process_helpers
22from unity8.shell import emulators, tests
23from unity8.shell import emulators, tests
23from unity8.shell.emulators import dash as dash_emulators
24from unity8.shell.emulators import dash as dash_emulators
@@ -29,8 +30,8 @@ class DashEmulatorTestCase(tests.UnityTestCase):
30 def setUp(self):
31 def setUp(self):
31 super(DashEmulatorTestCase, self).setUp()
32 super(DashEmulatorTestCase, self).setUp()
32− self.launch_unity()
33+ unity_proxy = self.launch_unity()
33− self.main_window.get_greeter().swipe()
34+ process_helpers.unlock_unity(unity_proxy)
34 self.dash = self.main_window.get_dash()
35 self.dash = self.main_window.get_dash()
36 def test_open_unexisting_scope(self):
37 def test_open_unexisting_scope(self):