@@ -141,10 +141,9 @@ class Dash(emulators.UnityEmulatorBase):
142 def enter_search_query(self, query):
142 def enter_search_query(self, query):
143 current_header = self._get_current_page_header()
143 current_header = self._get_current_page_header()
144+ search_button = current_header.select_single(objectName="search_header_button")
144− self.pointing_device.move(current_header.globalRect.x +
145+ self.pointing_device.move(search_button.globalRect.x + search_button.width / 2,
145− current_header.width - current_header.height / 4,
146+ search_button.globalRect.y + search_button.height / 2)
146− current_header.globalRect.y +
147− current_header.height / 4)
148 self.pointing_device.click()
147 self.pointing_device.click()
149 headerContainer = current_header.select_single(objectName="headerContainer")
148 headerContainer = current_header.select_single(objectName="headerContainer")
150 headerContainer.contentY.wait_for(0)
149 headerContainer.contentY.wait_for(0)
@@ -188,7 +187,7 @@ class GenericScopeView(emulators.UnityEmulatorBase):
188 # --elopio - 2014-1-14
187 # --elopio - 2014-1-14
189 self.pointing_device.click_object(icon)
188 self.pointing_device.click_object(icon)
190 preview_list = self.wait_select_single(
189 preview_list = self.wait_select_single(
191− 'PreviewListView', objectName='previewListView')
190+ 'QQuickLoader', objectName='subPageLoader')
192 preview_list.x.wait_for(0)
191 preview_list.x.wait_for(0)
193 return preview_list.select_single(
192 return preview_list.select_single(
194 Preview, objectName='preview{}'.format(preview_list.currentIndex))
193 Preview, objectName='preview{}'.format(preview_list.currentIndex))