on xenial help sign in
Remove test to check if Dash remains running

The Dash has been removed, this test is not needed.

commita64f1216f4b0e43a227390a563bca7d42360df1c authorDalton Durst <d@ltondur.st> dateThu 11 Apr 2019, 17:44 (8 years ago) parentc291fdf
1 file changed−27
tests/qmltests/Stage/tst_PhoneStage.qml−27
tests/qmltests/Stage/tst_PhoneStage.qml−27
@@ -376,33 +376,6 @@ Item {
376376 tryCompare(delegateB.application, "requestedState", ApplicationInfoInterface.RequestedRunning);
377377 }
378378
379− function test_dashRemainsRunningIfStageIsToldSo() {
380− addApps(1);
381−
382− var delegateDash = findChild(stage, "appDelegate_" + topLevelSurfaceList.idAt(1));
383− verify(delegateDash);
384− compare(delegateDash.application.appId, "unity8-dash");
385−
386− var delegateOther = findChild(stage, "appDelegate_" + topLevelSurfaceList.idAt(0));
387− verify(delegateOther);
388−
389− performEdgeSwipeToShowAppSpread();
390− tap(delegateDash, 1, 1);
391−
392− tryCompare(delegateDash, "focus", true);
393− tryCompare(delegateDash.application, "requestedState", ApplicationInfoInterface.RequestedRunning);
394− compare(delegateOther.focus, false);
395− compare(delegateOther.application.requestedState, ApplicationInfoInterface.RequestedSuspended);
396−
397− performEdgeSwipeToShowAppSpread();
398− tap(delegateOther, 1, 1);
399− // The other app gets focused and running but dash is kept running despite being unfocused
400− tryCompare(delegateOther, "focus", true);
401− tryCompare(delegateOther.application, "requestedState", ApplicationInfoInterface.RequestedRunning);
402− tryCompare(delegateDash, "focus", false);
403− tryCompare(delegateDash.application, "requestedState", ApplicationInfoInterface.RequestedRunning);
404− }
405−
406379 function test_foregroundAppIsSuspendedWhenStageIsSuspended() {
407380 addApps(1);
408381