on xenial help sign in
next try
commitded544e6c3f904239449a0f8367636dffe4397c6 authorAlbert Astals <albert.astals@canonical.com> dateThu 25 Sep 2014, 17:46 (12 years ago) parent3a65f55
2 files changed+4
qml/Dash/DashNavigation.qml+1 tests/qmltests/Dash/tst_DashContent.qml+3
qml/Dash/DashNavigation.qml+1
@@ -52,6 +52,7 @@ Item {
5252
5353 Rectangle {
5454 id: blackRect
55+ objectName: "blackRect"
5556 color: "black"
5657 opacity: openList && openList.currentItem && openList.currentItem.visible ? 0.5 : 0
5758 Behavior on opacity { UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration } }
tests/qmltests/Dash/tst_DashContent.qml+3
@@ -477,6 +477,9 @@ Item {
477477 var navigationListView = findChild(dashAltNavigationButton, "navigationListView");
478478 tryCompare(navigationListView.currentItem.navigation, "loaded", true);
479479
480+ var blackRect = findChild(dashNavigation, "blackRect");
481+ tryCompare(blackRect, "opacity", 0.5);
482+
480483 mouseClick(dashNavigation, dashNavigationButton.x, 0);
481484 compare(dashNavigationButton.showList, false);
482485 compare(dashAltNavigationButton.showList, false);