on xenial help sign in
the indicator-keyboard is present when there's a keyboard
60ac338Lukáš Tinkl
tests/qmltests/Panel/tst_Panel.qml+2−1
@@ -736,11 +736,12 @@ PanelTest {
736 function test_visibleIndicators_data() {
736 function test_visibleIndicators_data() {
737 return [
737 return [
738 { visible: [true, false, true, false, true, true, false, true] },
738 { visible: [true, false, true, false, true, true, false, true] },
739− { visible: [false, false, false, false, false, false, true, false] }
739+ { visible: [true, false, false, false, false, false, true, false] }
740 ];
740 ];
741 }
741 }
742
742
743 function test_visibleIndicators(data) {
743 function test_visibleIndicators(data) {
744+ panel.hasKeyboard = true;
744 for (var i = 0; i < data.visible.length; i++) {
745 for (var i = 0; i < data.visible.length; i++) {
745 var visible = data.visible[i];
746 var visible = data.visible[i];
746 root.setIndicatorVisible(i, visible);
747 root.setIndicatorVisible(i, visible);