@@ -110,6 +110,9 @@ Item {
110110 swipeUntilScopeViewIsReached(dashHome);
111111
112112 hideIndicators();
113+
114+ var dashContent = findChild(shell, "dashContent");
115+ dashContent.previewOpen = true;
113116 }
114117
115118 function killApps(apps) {
@@ -549,5 +552,18 @@ Item {
549552 tryCompare(greeter, "shown", true)
550553 tryCompare(searchIndicator, "opacity", 0)
551554 }
555+
556+ function test_searchIndicatorHideOnPreviewShown() {
557+ var searchIndicator = findChild(shell, "container");
558+ var dashContent = findChild(shell, "dashContent");
559+
560+ verify(dashContent != null);
561+
562+ tryCompare(searchIndicator, "opacity", 1);
563+
564+ dashContent.previewOpen = true;
565+
566+ tryCompare(searchIndicator, "opacity", 0);
567+ }
552568 }
553569}