@@ -19,6 +19,7 @@ import QtQuick.Layouts 1.1
19import QtTest 1.0
19import QtTest 1.0
20import Unity.Test 0.1
20import Unity.Test 0.1
21import Ubuntu.Components 0.1
21import Ubuntu.Components 0.1
22+import Unity.Application 0.1
22import Unity.Indicators 0.1 as Indicators
23import Unity.Indicators 0.1 as Indicators
23import Ubuntu.Telephony 0.1 as Telephony
24import Ubuntu.Telephony 0.1 as Telephony
24import "../../../qml/Panel"
25import "../../../qml/Panel"
@@ -423,6 +424,18 @@ IndicatorTest {
423 verify(panel.indicators.fullyClosed);
424 verify(panel.indicators.fullyClosed);
427+ function test_tapToReturnCallDontExpendIndicators() {
428+ callManager.foregroundCall = phoneCall;
430+ ApplicationManager.focusApplication("unity8-dash");
431+ tryCompare(ApplicationManager, "focusedApplicationId", "unity8-dash");
433+ var showDragArea = findChild(panel.indicators, "showDragArea");
434+ verify(showDragArea !== null);
436+ compare(showDragArea.enabled, false);
426 function test_openAndClosePanelWithMouseClicks() {
439 function test_openAndClosePanelWithMouseClicks() {
427 compare(panel.indicators.shown, false);
440 compare(panel.indicators.shown, false);
428 verify(panel.indicators.fullyClosed);
441 verify(panel.indicators.fullyClosed);