on xenial help sign in
forceshow greeter on start of every test
419d8cfAlbert Astals Cid
tests/qmltests/Dash/tst_DashShell.qml+3−8
@@ -27,14 +27,6 @@ Item {
27 width: units.gu(80)
27 width: units.gu(80)
28 height: units.gu(80)
28 height: units.gu(80)
29
29
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−
38 Shell {
30 Shell {
39 id: shell
31 id: shell
40 height: root.height
32 height: root.height
@@ -61,6 +53,9 @@ Item {
61 readonly property var scopes: dashContent.scopes
53 readonly property var scopes: dashContent.scopes
62
54
63 function init() {
55 function init() {
56+ var greeter = findChild(shell, "greeter");
57+ greeter.forceShow();
58+
64 // clear and reload the scopes.
59 // clear and reload the scopes.
65 scopes.clear();
60 scopes.clear();
66 var dashContentList = findChild(dash, "dashContentList");
61 var dashContentList = findChild(dash, "dashContentList");