on xenial help sign in
fix test
commitda10fdfe5e35c4549f79de77ef784c4805c7b38b authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 5 Apr 2017, 00:11 (10 years ago) parentefdd41f
1 file changed+1−1
tests/qmltests/tst_Shell.qml+1−1
tests/qmltests/tst_Shell.qml+1−1
@@ -3244,7 +3244,7 @@ Rectangle {
32443244 if (data.showSpread) {
32453245 tryCompare(stage, "spreadShown", true);
32463246 }
3247− tryCompare(panelMenuItem, "__popup", null);
3247+ tryCompareFunction(function() { return menuBarLoader.active === false; }, true);
32483248 keyRelease(Qt.Key_Alt)
32493249
32503250 tryCompare(appDelegate.surface, "activeFocus", true);