on xenial help sign in
more test fixes
commit9b7aa95e72843d10e80246f590c34d55f54b3b66 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 23 Feb 2017, 12:37 (10 years ago) parentdd95e15
1 file changed+2−2
tests/qmltests/Stage/tst_DesktopStage.qml+2−2
tests/qmltests/Stage/tst_DesktopStage.qml+2−2
@@ -321,7 +321,7 @@ Item {
321321 var maximizeButton = findChild(appDelegate, "maximizeWindowButton");
322322 verify(maximizeButton);
323323 mouseClick(maximizeButton);
324− tryCompare(appDelegate, "visuallyMaximized", true);
324+ tryCompare(appDelegate, "maximized", true);
325325 }
326326
327327 function test_tappingOnDecorationFocusesApplication(data) {
@@ -637,7 +637,7 @@ Item {
637637 var dialerAppDelegate = startApplication("dialer-app");
638638
639639 // verify the drop shadow becomes visible
640− tryCompare(PanelState, "dropShadow", true);
640+ tryCompareFunction(function() { return PanelState.dropShadow; }, true);
641641
642642 // close the maximized app
643643 ApplicationManager.stopApplication("facebook-webapp");