@@ -23,6 +23,7 @@ from testscenarios import multiply_scenarios
23from autopilot import platform
23from autopilot import platform
25from unity8.process_helpers import unlock_unity
25from unity8.process_helpers import unlock_unity
26+from unity8.shell.emulators import main_window
26from unity8.shell.tests import UnityTestCase, _get_device_emulation_scenarios
27from unity8.shell.tests import UnityTestCase, _get_device_emulation_scenarios
@@ -109,4 +110,6 @@ class IndicatorPageTitleMatchesWidgetTestCase(IndicatorTestCase):
109class DisplayIndicatorTestCase(IndicatorTestCase):
110class DisplayIndicatorTestCase(IndicatorTestCase):
111 def test(self):
112 def test(self):
112− self.main_window.print_tree('/tmp/tree')
113+ indicator_page = self.main_window.open_indicator_page(
115+ self.assertIsInstance(indicator_page, main_window.IndicatorPage)