@@ -19,6 +19,7 @@ import QtQuick.Layouts 1.1
1919import QtTest 1.0
2020import Unity.Test 0.1
2121import Ubuntu.Components 0.1
22+import Unity.Application 0.1
2223import Unity.Indicators 0.1 as Indicators
2324import Ubuntu.Telephony 0.1 as Telephony
2425import "../../../qml/Panel"
@@ -423,6 +424,18 @@ IndicatorTest {
423424 verify(panel.indicators.fullyClosed);
424425 }
425426
427+ function test_tapToReturnCallDontExpendIndicators() {
428+ callManager.foregroundCall = phoneCall;
429+
430+ ApplicationManager.focusApplication("unity8-dash");
431+ tryCompare(ApplicationManager, "focusedApplicationId", "unity8-dash");
432+
433+ var showDragArea = findChild(panel.indicators, "showDragArea");
434+ verify(showDragArea !== null);
435+
436+ compare(showDragArea.enabled, false);
437+ }
438+
426439 function test_openAndClosePanelWithMouseClicks() {
427440 compare(panel.indicators.shown, false);
428441 verify(panel.indicators.fullyClosed);