on xenial help sign in
Fix tests
commite46cb953abeb2fa391c1a9a3bcbea34574dca164 authorMichael Terry <michael.terry@canonical.com> dateTue 8 Dec 2015, 09:39 (11 years ago) parente119650
1 file changed+2−2
tests/qmltests/tst_Shell.qml+2−2
tests/qmltests/tst_Shell.qml+2−2
@@ -1868,7 +1868,7 @@ Rectangle {
18681868 compare(app1.stage, ApplicationInfoInterface.MainStage);
18691869 compare(app2.stage, ApplicationInfoInterface.MainStage);
18701870 verify(!app1.isTouchApp);
1871− verify(!app1.session.surface.activeFocus);
1871+ verify(!app1.session.lastSurface.activeFocus);
18721872
18731873 // Make sure app1 is exempt with a requested suspend
18741874 verify(app1.exemptFromLifecycle);
@@ -1897,7 +1897,7 @@ Rectangle {
18971897 // Sanity checking
18981898 compare(app1.stage, ApplicationInfoInterface.MainStage);
18991899 compare(app2.stage, ApplicationInfoInterface.MainStage);
1900− verify(!app1.session.surface.activeFocus);
1900+ verify(!app1.session.lastSurface.activeFocus);
19011901
19021902 // Make sure app1 is exempt with a requested suspend
19031903 verify(app1.exemptFromLifecycle);