on xenial help sign in
Fix Dash._get_current_page_header emulator helper.
commitd8c9deee8fa0e001544c4f713a2362d360854510 authorMichał Sawicz <michal.sawicz@canonical.com> dateWed 9 Jul 2014, 20:31 (12 years ago) parenta69d624
2 files changed+2−1
qml/Dash/GenericScopeView.qml+1 tests/autopilot/unity8/shell/emulators/dash.py+1−1
qml/Dash/GenericScopeView.qml+1
@@ -318,6 +318,7 @@ FocusScope {
318318
319319 pageHeader: PageHeader {
320320 id: pageHeader
321+ objectName: "scopePageHeader"
321322 width: parent.width
322323 title: scopeView.scope ? scopeView.scope.name : ""
323324 showBackButton: scopeView.hasBackAction
tests/autopilot/unity8/shell/emulators/dash.py+1−1
@@ -147,7 +147,7 @@ class Dash(emulators.UnityEmulatorBase):
147147 all_headers = dashContentList.select_many("QQuickLoader")
148148 for i in all_headers:
149149 if i.isCurrent:
150− return i.select_single(objectName="pageHeader")
150+ return i.select_single(objectName="scopePageHeader")
151151 return None
152152
153153