on xenial help sign in
Fix autopilot DashHelperTestCase.test_search

Approved by: Andrea Cimitan, Unity8 CI Bot

commit38f6c07c873cc3b8e7bb1ef6dd6417c89943fa28 authorAlbert Astals Cid <albert.astals@canonical.com> dateTue 29 Nov 2016, 09:41 (10 years ago) parent17b54968ef1036
2 files changed+4−3
qml/Dash/DashPageHeader.qml+1 tests/autopilot/unity8/dash.py+3−3
qml/Dash/DashPageHeader.qml+1
@@ -184,6 +184,7 @@ Item {
184184
185185 Column {
186186 id: headersColumn
187+ objectName: "headersColumn"
187188 anchors {
188189 left: parent.left
189190 right: parent.right
tests/autopilot/unity8/dash.py+3−3
@@ -163,9 +163,9 @@ class Dash(ubuntuuitoolkit.UbuntuUIToolkitCustomProxyObjectBase):
163163 search_button.globalRect.x + search_button.width / 2,
164164 search_button.globalRect.y + search_button.height / 2)
165165 self.pointing_device.click()
166− headerContainer = current_header.select_single(
167− objectName="headerContainer")
168− headerContainer.contentY.wait_for(0)
166+ headersColumn = current_header.select_single(
167+ objectName="headersColumn")
168+ headersColumn.y.wait_for(0)
169169 keyboard.type(query)
170170 self.select_single(
171171 objectName="processingIndicator").visible.wait_for(False)