on xenial help sign in
Fix suspend qmltest
36e4612Michael Terry
tests/qmltests/tst_Shell.qml+5−1
@@ -170,8 +170,12 @@ Item {
170
170
171 // And wake up
171 // And wake up
172 Powerd.displayPowerStateChange(Powerd.On, 0);
172 Powerd.displayPowerStateChange(Powerd.On, 0);
173− tryCompare(ApplicationManager, "focusedApplicationId", mainApp);
173+ tryCompare(ApplicationManager, "focusedApplicationId", "");
174 tryCompare(greeter, "showProgress", 1);
174 tryCompare(greeter, "showProgress", 1);
175+
176+ // Swipe away greeter to focus app
177+ swipeAwayGreeter();
178+ tryCompare(ApplicationManager, "focusedApplicationId", mainApp);
175 }
179 }
176
180
177 function swipeAwayGreeter() {
181 function swipeAwayGreeter() {