@@ -21,6 +21,7 @@
22from __future__ import absolute_import
22from __future__ import absolute_import
24+from unity8.shell import disable_qml_mocking
24from unity8.shell.tests import UnityTestCase, _get_device_emulation_scenarios
25from unity8.shell.tests import UnityTestCase, _get_device_emulation_scenarios
26from autopilot.matchers import Eventually
27from autopilot.matchers import Eventually
@@ -74,6 +75,7 @@ class ApplicationLifecycleTests(UnityTestCase):
74 app_type='qt'
75 app_type='qt'
77 def test_can_launch_application(self):
79 def test_can_launch_application(self):
78 """Must be able to launch an application."""
80 """Must be able to launch an application."""
79 self.launch_unity()
81 self.launch_unity()
@@ -87,6 +89,7 @@ class ApplicationLifecycleTests(UnityTestCase):
87 Eventually(Equals("messaging-app"))
89 Eventually(Equals("messaging-app"))
90 def test_can_launch_multiple_applications(self):
93 def test_can_launch_multiple_applications(self):
91 """A second application launched must be focused."""
94 """A second application launched must be focused."""
92 self.launch_unity()
95 self.launch_unity()
@@ -104,6 +107,7 @@ class ApplicationLifecycleTests(UnityTestCase):
104 Eventually(Equals("address-book-app"))
107 Eventually(Equals("address-book-app"))
110+ @disable_qml_mocking
107 def test_app_moves_from_unfocused_to_focused(self):
111 def test_app_moves_from_unfocused_to_focused(self):
108 """An application that is in the unfocused state must be able to be
112 """An application that is in the unfocused state must be able to be
109 brought back to the focused state.
113 brought back to the focused state.