on xenial help sign in
fix remaining tests
commit7fab136d456e98f9def57895f07b81b048bac114 authorMichael Zanetti <michael.zanetti@canonical.com> dateTue 4 Apr 2017, 23:44 (10 years ago) parent2f267c1
2 files changed+5−7
tests/qmltests/Stage/tst_DesktopStage.qml−7 tests/qmltests/tst_Shell.qml+5
tests/qmltests/Stage/tst_DesktopStage.qml−7
@@ -693,13 +693,6 @@ Item {
693693 tryCompare(facebookAppDelegate, "maximized", true);
694694 }
695695
696− function test_dashHasNoCloseButton() {
697− var dashAppDelegate = startApplication("unity8-dash");
698− verify(dashAppDelegate);
699− var closeButton = findChild(dashAppDelegate, "closeWindowButton");
700− tryCompare(closeButton, "visible", false);
701− }
702−
703696 function test_hideMaximizeButtonWhenSizeConstrained() {
704697 var dialerDelegate = startApplication("dialer-app");
705698
tests/qmltests/tst_Shell.qml+5
@@ -1276,6 +1276,11 @@ Rectangle {
12761276 function test_tapOnRightEdgeReachesApplicationSurface() {
12771277 loadShell("phone");
12781278 swipeAwayGreeter();
1279+
1280+ var appSurfaceId = topLevelSurfaceList.nextId;
1281+ var app = ApplicationManager.startApplication("unity8-dash")
1282+ waitUntilAppWindowIsFullyLoaded(appSurfaceId);
1283+
12791284 var topmostSpreadDelegate = findChild(shell, "appDelegate_" + topLevelSurfaceList.idAt(0));
12801285 verify(topmostSpreadDelegate);
12811286