on xenial help sign in
Fix autopilot DashHelperTestCase.test_search
commit8ef1036901fbab3ff98e04eed0855dd3a5a9cecd authorAlbert Astals Cid <albert.astals@canonical.com> dateTue 25 Oct 2016, 11:28 (10 years ago) parentfedd2f6
2 files changed+4−3
qml/Dash/DashPageHeader.qml+1 tests/autopilot/unity8/dash.py+3−3
qml/Dash/DashPageHeader.qml+1
@@ -185,6 +185,7 @@ Item {
185185
186186 Column {
187187 id: headersColumn
188+ objectName: "headersColumn"
188189 anchors {
189190 left: parent.left
190191 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)