on xenial help sign in
Attempt to click the indicator icon.
commit6391cee947626fb0320b55401f4faf13ef1c892d authorLeo Arias <leo.arias@canonical.com> dateMon 12 Jan 2015, 12:14 (12 years ago) parent13370c5
1 file changed+4−3
tests/autopilot/unity8/indicators/tests/test_indicators.py+4−3
tests/autopilot/unity8/indicators/tests/test_indicators.py+4−3
@@ -110,6 +110,7 @@ class IndicatorPageTitleMatchesWidgetTestCase(IndicatorTestCase):
110110class DisplayIndicatorTestCase(IndicatorTestCase):
111111
112112 def test(self):
113− indicator_page = self.main_window.open_indicator_page(
114− 'indicator-sound')
115− self.assertIsInstance(indicator_page, main_window.IndicatorPage)
113+ self.main_window.open_indicator_page('indicator-sound')
114+ indicator_rotation_icon = self.main_window.select_single(
115+ objectName='indicator.rotation-lock')
116+ self.main_window.pointing_device.click_object(indicator_rotation_icon)