on xenial help sign in
Fix suspend qmltest
commit36e46125f7a3946f3cd4a76f932286d855b84b61 authorMichael Terry <michael.terry@canonical.com> dateTue 8 Oct 2013, 16:55 (13 years ago) parent0b90ce1
1 file changed+5−1
tests/qmltests/tst_Shell.qml+5−1
tests/qmltests/tst_Shell.qml+5−1
@@ -170,8 +170,12 @@ Item {
170170
171171 // And wake up
172172 Powerd.displayPowerStateChange(Powerd.On, 0);
173− tryCompare(ApplicationManager, "focusedApplicationId", mainApp);
173+ tryCompare(ApplicationManager, "focusedApplicationId", "");
174174 tryCompare(greeter, "showProgress", 1);
175+
176+ // Swipe away greeter to focus app
177+ swipeAwayGreeter();
178+ tryCompare(ApplicationManager, "focusedApplicationId", mainApp);
175179 }
176180
177181 function swipeAwayGreeter() {