on xenial help sign in
modify the test
d698562handsome_feng
tests/qmltests/Panel/tst_Panel.qml+4
@@ -423,6 +423,9 @@ IndicatorTest {
423 }
423 }
424
424
425 function test_tapToReturnCallDoesntExpandIndicators() {
425 function test_tapToReturnCallDoesntExpandIndicators() {
426+ compare(panel.indicators.shown, false);
427+ verify(panel.indicators.fullyClosed);
428+
426 callManager.foregroundCall = phoneCall;
429 callManager.foregroundCall = phoneCall;
427
430
428 ApplicationManager.focusApplication("unity8-dash");
431 ApplicationManager.focusApplication("unity8-dash");
@@ -433,6 +436,7 @@ IndicatorTest {
433 panel.indicators.minimizedPanelHeight / 2);
436 panel.indicators.minimizedPanelHeight / 2);
434
437
435 compare(panel.indicators.shown, false);
438 compare(panel.indicators.shown, false);
439+ verify(panel.indicators.fullyClosed);
436 }
440 }
437
441
438 function test_openAndClosePanelWithMouseClicks() {
442 function test_openAndClosePanelWithMouseClicks() {