@@ -110,6 +110,9 @@ Item {
110 swipeUntilScopeViewIsReached(dashHome);
110 swipeUntilScopeViewIsReached(dashHome);
112 hideIndicators();
112 hideIndicators();
114+ var dashContent = findChild(shell, "dashContent");
115+ dashContent.previewOpen = true;
115 function killApps(apps) {
118 function killApps(apps) {
@@ -549,5 +552,18 @@ Item {
549 tryCompare(greeter, "shown", true)
552 tryCompare(greeter, "shown", true)
550 tryCompare(searchIndicator, "opacity", 0)
553 tryCompare(searchIndicator, "opacity", 0)
556+ function test_searchIndicatorHideOnPreviewShown() {
557+ var searchIndicator = findChild(shell, "container");
558+ var dashContent = findChild(shell, "dashContent");
560+ verify(dashContent != null);
562+ tryCompare(searchIndicator, "opacity", 1);
564+ dashContent.previewOpen = true;
566+ tryCompare(searchIndicator, "opacity", 0);