on xenial help sign in
forceshow greeter on start of every test
commit419d8cff7e909376f1bb0edd7c2f01a76addaf1a authorAlbert Astals Cid <albert.astals@canonical.com> dateMon 20 Jul 2015, 16:58 (11 years ago) parent64d0b88
1 file changed+3−8
tests/qmltests/Dash/tst_DashShell.qml+3−8
tests/qmltests/Dash/tst_DashShell.qml+3−8
@@ -27,14 +27,6 @@ Item {
2727 width: units.gu(80)
2828 height: units.gu(80)
2929
30− // BEGIN To reduce warnings
31− // TODO I think it we should pass down these variables
32− // as needed instead of hoping they will be globally around
33− property var greeter: null
34− property var panel: null
35− // BEGIN To reduce warnings
36−
37−
3830 Shell {
3931 id: shell
4032 height: root.height
@@ -61,6 +53,9 @@ Item {
6153 readonly property var scopes: dashContent.scopes
6254
6355 function init() {
56+ var greeter = findChild(shell, "greeter");
57+ greeter.forceShow();
58+
6459 // clear and reload the scopes.
6560 scopes.clear();
6661 var dashContentList = findChild(dash, "dashContentList");