on xenial help sign in
Skip indicator-bluetooth on manta.
commitfc0cab323d0f7d4c85af72b603409646f5485a42 authorAllan LeSage <allan.lesage@canonical.com> dateWed 9 Apr 2014, 10:23 (13 years ago) parentf5d16bd
1 file changed+12
tests/autopilot/unity8/indicators/tests/test_indicators.py+12
tests/autopilot/unity8/indicators/tests/test_indicators.py+12
@@ -54,6 +54,12 @@ class IndicatorExistsTestCase(IndicatorTestCase):
5454 IndicatorTestCase.device_emulation_scenarios
5555 )
5656
57+ def setUp(self):
58+ super(IndicatorExistsTestCase, self).setUp()
59+ if (platform.model() == 'Nexus 10' and
60+ self.indicator_name == 'indicator-bluetooth'):
61+ self.skipTest('Nexus 10 does not have bluetooth at the moment.')
62+
5763 def test_indicator_exists(self):
5864 self.main_window._get_indicator_widget(
5965 self.indicator_name
@@ -83,6 +89,12 @@ class IndicatorPageTitleMatchesWidgetTestCase(IndicatorTestCase):
8389 IndicatorTestCase.device_emulation_scenarios
8490 )
8591
92+ def setUp(self):
93+ super(IndicatorExistsTestCase, self).setUp()
94+ if (platform.model() == 'Nexus 10' and
95+ self.indicator_name == 'indicator-bluetooth'):
96+ self.skipTest('Nexus 10 does not have bluetooth at the moment.')
97+
8698 def test_indicator_page_title_matches_widget(self):
8799 """Swiping open an indicator must show its correct title.
88100