on xenial help sign in
Stabilize tst_ShellWithPin
96aada4Daniel d'Andrada
tests/qmltests/tst_ShellWithPin.qml+3−3
@@ -330,7 +330,7 @@ Item {
330 tap(emergencyButton)
330 tap(emergencyButton)
331
331
332 tryCompare(greeter, "shown", false);
332 tryCompare(greeter, "shown", false);
333− ApplicationManager.startApplication("gallery-app", ApplicationManager.NoFlag)
333+ startApplication("gallery-app");
334 tryCompare(greeter, "shown", true);
334 tryCompare(greeter, "shown", true);
335 }
335 }
336
336
@@ -468,7 +468,7 @@ Item {
468 tryCompare(greeter, "shown", false);
468 tryCompare(greeter, "shown", false);
469 tryCompare(LightDM.Greeter, "active", false);
469 tryCompare(LightDM.Greeter, "active", false);
470
470
471− ApplicationManager.startApplication("dialer-app", ApplicationManager.NoFlag);
471+ startApplication("dialer-app");
472 tryCompare(ApplicationManager, "focusedApplicationId", "dialer-app");
472 tryCompare(ApplicationManager, "focusedApplicationId", "dialer-app");
473 callManager.foregroundCall = phoneCall;
473 callManager.foregroundCall = phoneCall;
474
474
@@ -603,7 +603,7 @@ Item {
603 var coverPage = findChild(shell, "coverPage");
603 var coverPage = findChild(shell, "coverPage");
604 var lockscreen = findChild(shell, "lockscreen");
604 var lockscreen = findChild(shell, "lockscreen");
605 var launcher = findChild(shell, "launcherPanel");
605 var launcher = findChild(shell, "launcherPanel");
606− var galleryApp = ApplicationManager.startApplication("gallery-app");
606+ var galleryApp = startApplication("gallery-app").application;
607 tryCompare(shell, "mainApp", galleryApp);
607 tryCompare(shell, "mainApp", galleryApp);
608
608
609 // Show greeter
609 // Show greeter