on xenial help sign in
Fix AP tests
commitd327fc10f181bb5ff6fafcf1f4ee46a433aef5c0 authorMichal Hruby <michal.mhr@gmail.com> dateMon 12 Aug 2013, 00:16 (13 years ago) parenta0a7e1f
2 files changed+6−5
Dash/GenericScopeView.qml+3−2 tests/autopilot/unity8/shell/emulators/dash.py+3−3
Dash/GenericScopeView.qml+3−2
@@ -69,11 +69,12 @@ ScopeView {
6969 onLoaded: {
7070 if (source.toString().indexOf("Apps/RunningApplicationsGrid.qml") != -1) {
7171 // TODO: the running apps grid doesn't support standard scope results model yet
72− item.firstModel = results.firstModel;
73− item.secondModel = results.secondModel;
72+ item.firstModel = results.firstModel
73+ item.secondModel = results.secondModel
7474 } else {
7575 item.model = results
7676 }
77+ item.objectName = categoryId
7778 }
7879
7980 Connections {
tests/autopilot/unity8/shell/emulators/dash.py+3−3
@@ -25,9 +25,9 @@ class Dash(UnityEmulatorBase):
2525 """An emulator that understands the Dash."""
2626
2727 def get_home_applications_grid(self):
28− return self.select_single(
29− "ApplicationsFilterGrid",
30− objectName="dashHomeApplicationsGrid"
28+ return self.get_scope('home').select_single(
29+ "GenericFilterGrid",
30+ objectName="applications.scope"
3131 )
3232
3333 def get_application_icon(self, text):