@@ -236,6 +236,7 @@ Item {
236236
237237 // wait until the animation has finished
238238 tryCompare(greeter, "showProgress", 0);
239+ waitForRendering(greeter);
239240 }
240241
241242 /*
@@ -601,8 +602,21 @@ Item {
601602 // The main point of this test
602603 ApplicationManager.requestFocusApplication("dialer-app");
603604 tryCompare(greeter, "showProgress", 0);
605+ waitForRendering(greeter);
604606 }
605607
608+ function test_focusRequestedHidesIndicators() {
609+ var indicators = findChild(shell, "indicators");
610+
611+ showIndicators();
612+
613+ ApplicationManager.startApplication("camera-app");
614+ tryCompare(ApplicationManager, "count", 1);
615+
616+ tryCompare(indicators, "fullyClosed", true);
617+ }
618+
619+
606620 function test_showGreeterDBusCall() {
607621 var greeter = findChild(shell, "greeter")
608622 tryCompare(greeter, "showProgress", 0)