on xenial help sign in
Small tweaks suggested by review
commit1844e1f1874a165386a12ce157c92fe8a948a5e5 authorAlbert Astals Cid <albert.astals@canonical.com> dateThu 3 Sep 2015, 09:44 (11 years ago) parent49ac736
2 files changed+2−3
tests/autopilot/unity8/dash.py+1−2 tests/autopilot/unity8/shell/tests/test_helpers.py+1−1
tests/autopilot/unity8/dash.py+1−2
@@ -166,12 +166,11 @@ class Dash(ubuntuuitoolkit.UbuntuUIToolkitCustomProxyObjectBase):
166166 headerContainer = current_header.select_single(
167167 objectName="headerContainer")
168168 headerContainer.contentY.wait_for(0)
169− search_text_field = self._get_search_text_field()
170169 keyboard.type(query)
171170 self.select_single(
172171 objectName="processingIndicator").visible.wait_for(False)
173172
174− def _get_search_text_field(self):
173+ def get_search_text_field(self):
175174 page_header = self._get_current_page_header()
176175 return page_header.select_single(objectName='searchTextField')
177176
tests/autopilot/unity8/shell/tests/test_helpers.py+1−1
@@ -48,7 +48,7 @@ class DashHelperTestCase(tests.DashBaseTestCase):
4848
4949 def test_search(self):
5050 self.dash.enter_search_query('Test', self.keyboard)
51− text_field = self.dash._get_search_text_field()
51+ text_field = self.dash.get_search_text_field()
5252 self.assertEqual(text_field.text, 'Test')
5353
5454 def test_open_scope_to_the_right(self):